diff options
Diffstat (limited to 'dev-libs/mini-xml')
-rw-r--r-- | dev-libs/mini-xml/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/mini-xml/metadata.xml | 4 | ||||
-rw-r--r-- | dev-libs/mini-xml/mini-xml-2.7.ebuild | 56 |
3 files changed, 66 insertions, 3 deletions
diff --git a/dev-libs/mini-xml/ChangeLog b/dev-libs/mini-xml/ChangeLog index f71e5a571e5b..b1a85dec85f0 100644 --- a/dev-libs/mini-xml/ChangeLog +++ b/dev-libs/mini-xml/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/mini-xml # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.20 2012/07/18 11:09:42 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.21 2012/12/11 19:53:15 hwoarang Exp $ + +*mini-xml-2.7 (11 Dec 2012) + + 11 Dec 2012; Markos Chandras <hwoarang@gentoo.org> +mini-xml-2.7.ebuild, + metadata.xml: + Version bump. Bug #446348. Add Rüpel <ruepel@gmx.li> as proxy-maintainer 18 Jul 2012; Justin Lecher <jlec@gentoo.org> mini-xml-2.2.1.ebuild, +files/mini-xml-2.2.1-nostrip-flags.patch, mini-xml-2.6.ebuild, metadata.xml: @@ -85,4 +91,3 @@ 29 Sep 2004; Frank van de Pol <fvdpol@gentoo.org> : Mini-xml library used by ZynAddSubFX. Ebuild submitted by Eric Shattow <shadow@serverart.org> in bug #58214. - diff --git a/dev-libs/mini-xml/metadata.xml b/dev-libs/mini-xml/metadata.xml index 91f4e72fb544..5eb541d497f3 100644 --- a/dev-libs/mini-xml/metadata.xml +++ b/dev-libs/mini-xml/metadata.xml @@ -1,7 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> + <herd>proxy-maintainers</herd> <maintainer> - <email>maintainer-needed@gentoo.org</email> + <email>ruepel@gmx.li</email> + <name>Rüpel</name> </maintainer> </pkgmetadata> diff --git a/dev-libs/mini-xml/mini-xml-2.7.ebuild b/dev-libs/mini-xml/mini-xml-2.7.ebuild new file mode 100644 index 000000000000..b0b974de71ca --- /dev/null +++ b/dev-libs/mini-xml/mini-xml-2.7.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/mini-xml-2.7.ebuild,v 1.1 2012/12/11 19:53:15 hwoarang Exp $ + +EAPI=4 + +inherit autotools multilib + +MY_P="${P/mini-xml/mxml}" + +DESCRIPTION="Small XML parsing library to read XML and XML-like data files" +HOMEPAGE="http://www.easysw.com/~mike/mxml" +SRC_URI="mirror://easysw/mxml/${PV}/${MY_P}.tar.gz" + +LICENSE="Mini-XML" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="threads" + +DEPEND="virtual/pkgconfig" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + sed -i -e "s:755 -s:755:" Makefile.in || die "sed failed" + sed -i "/^TARGETS/s: testmxml::" Makefile.in || die "sed failed" + sed -i -e 's:$(DSO) $(DSOFLAGS) -o libmxml.so.1.5 $(LIBOBJS):$(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.5 $(LIBOBJS):' \ + Makefile.in || die "sed failed" + sed -i -e 's:OPTIM="-Os -g":OPTIM="":' configure.in || die "sed failed" + rm configure +# 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.a libmxml.so.1.5 mxmldoc doc/mxml.man || die "make failed" +} + +src_install() { + emake DSTROOT="${D}" install || die "install failed" + dodoc ANNOUNCEMENT CHANGES README + rm "${D}/usr/share/doc/${PF}/html/"{CHANGES,COPYING,README} +} + +src_test() { + emake testmxml || die "make testmxml failed" +} |