forked from hasufell/hasufell-repository
dev-libs/mxml: initial import of version 2.10
This commit is contained in:
parent
fd50a6bc44
commit
ff46517fb2
26
packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch
Normal file
26
packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 5048538a523364b492e0bc2ce14d27e25ce9d24d Mon Sep 17 00:00:00 2001
|
||||
From: Julian Ospald <hasufell@posteo.de>
|
||||
Date: Mon, 6 Feb 2017 21:21:31 +0100
|
||||
Subject: [PATCH] Fix ar invocation
|
||||
Upstream: not yet
|
||||
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 25ac434..36b6a18 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -74,7 +74,7 @@ if test "$INSTALL" = "$ac_install_sh"; then
|
||||
INSTALL="`pwd`/install-sh -c"
|
||||
fi
|
||||
AC_PROG_RANLIB
|
||||
-AC_PATH_PROG(AR,ar)
|
||||
+AC_PATH_TOOL(AR,ar)
|
||||
AC_PATH_PROG(CP,cp)
|
||||
AC_PATH_PROG(LN,ln)
|
||||
AC_PATH_PROG(MKDIR,mkdir)
|
||||
--
|
||||
2.11.0
|
||||
|
34
packages/dev-libs/mxml/mxml-2.10.exheres-0
Normal file
34
packages/dev-libs/mxml/mxml-2.10.exheres-0
Normal file
@ -0,0 +1,34 @@
|
||||
# Copyright 2017 Julian Ospald
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="Mini-XML: A lightweight ANSI C XML library"
|
||||
HOMEPAGE="http://www.msweet.org/projects.php?Z3"
|
||||
DOWNLOADS="http://www.msweet.org/files/project3/${PNV}.tar.gz"
|
||||
|
||||
LICENCES="LGPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/0001-Fix-ar-invocation.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake -j1 \
|
||||
INSTALL_BIN="\$(LIBTOOL) \$(INSTALL) -m 755" \
|
||||
STRIPPROG=touch \
|
||||
BUILDROOT="${IMAGE}" \
|
||||
docdir="/usr/share/doc/${PNVR}" \
|
||||
install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user