From ff46517fb2c16e09d32190995f644e135a5e97b8 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Mon, 6 Feb 2017 21:39:56 +0100 Subject: [PATCH] dev-libs/mxml: initial import of version 2.10 --- .../mxml/files/0001-Fix-ar-invocation.patch | 26 ++++++++++++++ packages/dev-libs/mxml/mxml-2.10.exheres-0 | 34 +++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch create mode 100644 packages/dev-libs/mxml/mxml-2.10.exheres-0 diff --git a/packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch b/packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch new file mode 100644 index 0000000..722333d --- /dev/null +++ b/packages/dev-libs/mxml/files/0001-Fix-ar-invocation.patch @@ -0,0 +1,26 @@ +From 5048538a523364b492e0bc2ce14d27e25ce9d24d Mon Sep 17 00:00:00 2001 +From: Julian Ospald +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 + diff --git a/packages/dev-libs/mxml/mxml-2.10.exheres-0 b/packages/dev-libs/mxml/mxml-2.10.exheres-0 new file mode 100644 index 0000000..1f4b641 --- /dev/null +++ b/packages/dev-libs/mxml/mxml-2.10.exheres-0 @@ -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 +} +