From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-libs/mini-xml/Manifest | 3 ++ dev-libs/mini-xml/metadata.xml | 12 +++++++ dev-libs/mini-xml/mini-xml-2.10.ebuild | 61 ++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 dev-libs/mini-xml/Manifest create mode 100644 dev-libs/mini-xml/metadata.xml create mode 100644 dev-libs/mini-xml/mini-xml-2.10.ebuild (limited to 'dev-libs/mini-xml') diff --git a/dev-libs/mini-xml/Manifest b/dev-libs/mini-xml/Manifest new file mode 100644 index 000000000000..0549d5549b91 --- /dev/null +++ b/dev-libs/mini-xml/Manifest @@ -0,0 +1,3 @@ +DIST mxml-2.10.tar.gz 265398 BLAKE2B eb3edec5615d727dec9285e2b74f4c877e8332be8f8183483e85a91d92ca1f48e5fc6d06afa3650c133c9762998abfdc8e846a9961ce55251d0c5bbcba0a970f SHA512 c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c +EBUILD mini-xml-2.10.ebuild 1338 BLAKE2B 3c61f9345cbcbd53d045f391b81bbf177622728da6f340cdc2798d32354cd05fca221fdd4cadb9eef6c45222bad0f92bc3484d5660e5e61623b8dd25b86153b8 SHA512 eddb5ad74946de41caf859faa624e7d7f40c49ef1e2abd21ddd25503a29a940969783a65efafd0cfa48b47e428260953dafaec56ef3148e5d91f126f1baea8c5 +MISC metadata.xml 351 BLAKE2B 3492ca1e5b1dc56a5c125e6f6b9ef7e36caa9ad045fe9e9154dcf77d8da692cec2492b03a190eccec2db52a95a6abf83797b6d43babeedcb42d4552eb4aff014 SHA512 dad538833ec388605a2ad9e3facb368a12b010c769855e795314ba5aeb9224cb87a363e7d3ebc385ca578a0a29e16374a7e0aedbf29478599c558d134416cde6 diff --git a/dev-libs/mini-xml/metadata.xml b/dev-libs/mini-xml/metadata.xml new file mode 100644 index 000000000000..32d70436a670 --- /dev/null +++ b/dev-libs/mini-xml/metadata.xml @@ -0,0 +1,12 @@ + + + + + ruepel@gmx.li + RĂ¼pel + + + proxy-maint@gentoo.org + Proxy Maintainers + + diff --git a/dev-libs/mini-xml/mini-xml-2.10.ebuild b/dev-libs/mini-xml/mini-xml-2.10.ebuild new file mode 100644 index 000000000000..1b30124a228f --- /dev/null +++ b/dev-libs/mini-xml/mini-xml-2.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P="${P/mini-xml/mxml}" + +DESCRIPTION="Small XML parsing library to read XML and XML-like data files" +HOMEPAGE="http://www.minixml.org/" +SRC_URI="http://www.msweet.org/files/project3/${MY_P}.tar.gz" + +LICENSE="Mini-XML" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86" +IUSE="threads static-libs" + +DEPEND="virtual/pkgconfig" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -e "s:755 -s:755:" \ + -e "/^TARGETS/s: testmxml::" \ + -e 's:$(DSO) $(DSOFLAGS) -o libmxml.so.1.5 $(LIBOBJS):$(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.5 $(LIBOBJS):' \ + -i Makefile.in || die + sed -i -e 's:OPTIM="-Os -g":OPTIM="":' configure.ac || die + rm configure || die + #eautoreconf + eautoconf +} + +src_configure() { + econf \ + --enable-shared \ + --libdir="/usr/$(get_libdir)" \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable threads) +} + +src_compile() { + emake libmxml.so.1.5 mxmldoc doc/mxml.man +} + +src_install() { + emake DSTROOT="${ED}" install + + if ! use static-libs; then + rm "${ED}"/usr/$(get_libdir)/libmxml.a || die + fi + + dodoc ANNOUNCEMENT CHANGES README + rm "${ED}/usr/share/doc/${PF}/html/"{CHANGES,COPYING,README} || die +} + +src_test() { + emake testmxml +} -- cgit v1.2.3