summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2014-01-20 09:01:13 +0000
committerLars Wendler <polynomial-c@gentoo.org>2014-01-20 09:01:13 +0000
commit84c08c28bc38f4a1e779353e79309fd584a8c130 (patch)
tree3335a3a87b53ba7eb0b8b5618f50ad5d5dd03ecb /dev-libs/mini-xml
parentbump (diff)
downloadgentoo-2-84c08c28bc38f4a1e779353e79309fd584a8c130.tar.gz
gentoo-2-84c08c28bc38f4a1e779353e79309fd584a8c130.tar.bz2
gentoo-2-84c08c28bc38f4a1e779353e79309fd584a8c130.zip
Version bump
(Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'dev-libs/mini-xml')
-rw-r--r--dev-libs/mini-xml/ChangeLog9
-rw-r--r--dev-libs/mini-xml/mini-xml-2.8.ebuild61
2 files changed, 68 insertions, 2 deletions
diff --git a/dev-libs/mini-xml/ChangeLog b/dev-libs/mini-xml/ChangeLog
index 5e46485fc046..776904a983e8 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-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.31 2013/12/26 18:42:25 dilfridge Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mini-xml/ChangeLog,v 1.32 2014/01/20 09:01:13 polynomial-c Exp $
+
+*mini-xml-2.8 (20 Jan 2014)
+
+ 20 Jan 2014; Lars Wendler <polynomial-c@gentoo.org> +mini-xml-2.8.ebuild:
+ Version bump.
26 Dec 2013; Andreas K. Huettel <dilfridge@gentoo.org>
-mini-xml-2.2.1.ebuild, -files/mini-xml-2.2.1-nostrip-flags.patch,
diff --git a/dev-libs/mini-xml/mini-xml-2.8.ebuild b/dev-libs/mini-xml/mini-xml-2.8.ebuild
new file mode 100644
index 000000000000..7c06bf462e44
--- /dev/null
+++ b/dev-libs/mini-xml/mini-xml-2.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2014 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.8.ebuild,v 1.1 2014/01/20 09:01:12 polynomial-c Exp $
+
+EAPI=5
+
+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.minixml.org/"
+SRC_URI="http://www.msweet.org/files/project3/${MY_P}.tar.gz"
+
+LICENSE="Mini-XML"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="threads static-libs"
+
+DEPEND="virtual/pkgconfig"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ 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 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.so.1.5 mxmldoc doc/mxml.man
+}
+
+src_install() {
+ emake DSTROOT="${D}" install
+
+ if ! use static-libs; then
+ rm "${ED}"/usr/$(get_libdir)/libmxml.a || die
+ fi
+
+ dodoc ANNOUNCEMENT CHANGES README
+ rm "${D}/usr/share/doc/${PF}/html/"{CHANGES,COPYING,README} || die
+}
+
+src_test() {
+ emake testmxml
+}