summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2012-08-31 21:13:47 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2012-08-31 21:13:47 +0000
commit764a482ad1bbbf651c4665b7351aff0b10ef399c (patch)
treea84f363b58f1133aa1f522776a2dcd98ec4aed89 /media-libs/libmetalink
parentBump to 2.4.5. (diff)
downloadgentoo-2-764a482ad1bbbf651c4665b7351aff0b10ef399c.tar.gz
gentoo-2-764a482ad1bbbf651c4665b7351aff0b10ef399c.tar.bz2
gentoo-2-764a482ad1bbbf651c4665b7351aff0b10ef399c.zip
EAPI4fy. Introduce xml useflag. Rework econf to pass --with/--without as expected. Support static libs. bug #433042
(Portage version: 2.1.11.12/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmetalink')
-rw-r--r--media-libs/libmetalink/ChangeLog10
-rw-r--r--media-libs/libmetalink/libmetalink-0.1.0-r1.ebuild30
2 files changed, 38 insertions, 2 deletions
diff --git a/media-libs/libmetalink/ChangeLog b/media-libs/libmetalink/ChangeLog
index 31a475c776c7..d9fd584c09d3 100644
--- a/media-libs/libmetalink/ChangeLog
+++ b/media-libs/libmetalink/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-libs/libmetalink
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/ChangeLog,v 1.5 2012/08/01 14:35:28 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/ChangeLog,v 1.6 2012/08/31 21:13:47 hwoarang Exp $
+
+*libmetalink-0.1.0-r1 (31 Aug 2012)
+
+ 31 Aug 2012; Markos Chandras <hwoarang@gentoo.org>
+ +libmetalink-0.1.0-r1.ebuild:
+ EAPI4fy. Introduce xml useflag. Rework econf to pass --with/--without as
+ expected. Support static libs. bug #433042
*libmetalink-0.1.0 (01 Aug 2012)
@@ -24,4 +31,3 @@
+metadata.xml:
Moved from sunrise overlay. Thanks to Sebastian Pipping <sping@gentoo.org>.
Bug #273118
-
diff --git a/media-libs/libmetalink/libmetalink-0.1.0-r1.ebuild b/media-libs/libmetalink/libmetalink-0.1.0-r1.ebuild
new file mode 100644
index 000000000000..05936e1d983f
--- /dev/null
+++ b/media-libs/libmetalink/libmetalink-0.1.0-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/libmetalink-0.1.0-r1.ebuild,v 1.1 2012/08/31 21:13:47 hwoarang Exp $
+
+EAPI="4"
+
+inherit base
+
+DESCRIPTION="Library for handling Metalink files"
+HOMEPAGE="http://launchpad.net/libmetalink"
+SRC_URI="https://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
+IUSE="expat static-libs test xml"
+
+RDEPEND="expat? ( dev-libs/expat )
+ xml? ( >=dev-libs/libxml2-2.6.24 )"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cunit )"
+
+REQUIRED_USE="^^ ( expat xml )"
+
+src_configure() {
+ econf \
+ $(use_with expat libexpat) \
+ $(use_with xml libxml2) \
+ $(use_enable static-libs static)
+}