diff options
-rw-r--r-- | dev-libs/mini-xml/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/mini-xml/files/digest-mini-xml-2.4 | 3 | ||||
-rw-r--r-- | dev-libs/mini-xml/mini-xml-2.4.ebuild | 41 |
3 files changed, 51 insertions, 2 deletions
diff --git a/dev-libs/mini-xml/ChangeLog b/dev-libs/mini-xml/ChangeLog index 725b72df62ae..fc2ed774aec8 100644 --- a/dev-libs/mini-xml/ChangeLog +++ b/dev-libs/mini-xml/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/mini-xml -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.9 2007/02/22 01:06:41 peper Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.10 2008/01/08 00:31:47 carlo Exp $ + +*mini-xml-2.4 (08 Jan 2008) + + 08 Jan 2008; Carsten Lohrke <carlo@gentoo.org> +mini-xml-2.4.ebuild: + Version bump. 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: Transition to Manifest2. diff --git a/dev-libs/mini-xml/files/digest-mini-xml-2.4 b/dev-libs/mini-xml/files/digest-mini-xml-2.4 new file mode 100644 index 000000000000..d3444ccd0200 --- /dev/null +++ b/dev-libs/mini-xml/files/digest-mini-xml-2.4 @@ -0,0 +1,3 @@ +MD5 8dfa3d25d9a0146bd24324f5111d9db0 mxml-2.4.tar.gz 241325 +RMD160 d633424dc789306a6f3d5d1929d00629fc6dca08 mxml-2.4.tar.gz 241325 +SHA256 4a063004fcbcf205c4033641b15526aa2cd26bd398386dec87f9273b997469fe mxml-2.4.tar.gz 241325 diff --git a/dev-libs/mini-xml/mini-xml-2.4.ebuild b/dev-libs/mini-xml/mini-xml-2.4.ebuild new file mode 100644 index 000000000000..7f1eb4270958 --- /dev/null +++ b/dev-libs/mini-xml/mini-xml-2.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2008 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.4.ebuild,v 1.1 2008/01/08 00:31:47 carlo Exp $ + +inherit autotools multilib + +MY_P="${P/mini-xml/mxml}" + +DESCRIPTION="Mini-XML is a small XML parsing library that you can use to read XML and XML-like data files in your application without requiring large non-standard libraries." +HOMEPAGE="http://www.easysw.com/~mike/mxml" +SRC_URI="http://ftp.easysw.com/pub/mxml/${PV}/${MY_P}.tar.gz" + +LICENSE="Mini-XML" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="test" + +DEPEND="dev-util/pkgconfig" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + + +src_test() { + emake testmxml +} + +src_compile() { + sed -i -e "s:755 -s:755:" Makefile.in || die "sed failed" + rm configure + eautoreconf + + econf --enable-shared --libdir="/usr/$(get_libdir)" --with-docdir="/usr/share/doc/${PF}/html" + emake libmxml.a libmxml.so.1.4 mxmldoc doc/mxml.man +} + +src_install() { + emake DSTROOT="${D}" install || die "install failed" + dodoc ANNOUNCEMENT CHANGES README + rm "${D}/usr/share/doc/${PF}/html/"{CHANGES,COPYING,README} +} |