summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2011-08-07 17:35:40 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2011-08-07 17:35:40 +0000
commit18319e681c1089db3cc1bfe7a349d5cbf84c1604 (patch)
tree369569e0faf1263dfa2b5d486bd66425c633e94e /media-libs/libmetalink
parentDrop sparc keyword (diff)
downloadgentoo-2-18319e681c1089db3cc1bfe7a349d5cbf84c1604.tar.gz
gentoo-2-18319e681c1089db3cc1bfe7a349d5cbf84c1604.tar.bz2
gentoo-2-18319e681c1089db3cc1bfe7a349d5cbf84c1604.zip
Moved from sunrise overlay. Thanks to Sebastian Pipping <sping@gentoo.org>. Bug #273118
(Portage version: 2.2.0_alpha46/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmetalink')
-rw-r--r--media-libs/libmetalink/ChangeLog11
-rw-r--r--media-libs/libmetalink/libmetalink-0.0.3.ebuild30
-rw-r--r--media-libs/libmetalink/metadata.xml9
3 files changed, 50 insertions, 0 deletions
diff --git a/media-libs/libmetalink/ChangeLog b/media-libs/libmetalink/ChangeLog
new file mode 100644
index 000000000000..b11ba86ec12a
--- /dev/null
+++ b/media-libs/libmetalink/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/libmetalink
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/ChangeLog,v 1.1 2011/08/07 17:35:40 hwoarang Exp $
+
+*libmetalink-0.0.3 (07 Aug 2011)
+
+ 07 Aug 2011; Markos Chandras <hwoarang@gentoo.org> +libmetalink-0.0.3.ebuild,
+ +metadata.xml:
+ Moved from sunrise overlay. Thanks to Sebastian Pipping <sping@gentoo.org>.
+ Bug #273118
+
diff --git a/media-libs/libmetalink/libmetalink-0.0.3.ebuild b/media-libs/libmetalink/libmetalink-0.0.3.ebuild
new file mode 100644
index 000000000000..2434a423e32c
--- /dev/null
+++ b/media-libs/libmetalink/libmetalink-0.0.3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/libmetalink-0.0.3.ebuild,v 1.1 2011/08/07 17:35:40 hwoarang Exp $
+
+EAPI="2"
+
+inherit base
+
+DESCRIPTION="Library for handling Metalink files"
+HOMEPAGE="http://launchpad.net/libmetalink"
+SRC_URI="http://code.launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="expat test"
+
+RDEPEND="expat? ( dev-libs/expat )
+ !expat? ( >=dev-libs/libxml2-2.6.24 )"
+DEPEND="${RDEPEND}
+ test? ( dev-util/cunit )"
+
+src_configure() {
+ local xml_args
+ use expat \
+ && xml_args=--with-libexpat \
+ || xml_args=--with-libxml2
+
+ econf ${xml_args} --docdir=/usr/share/doc/${PF}
+}
diff --git a/media-libs/libmetalink/metadata.xml b/media-libs/libmetalink/metadata.xml
new file mode 100644
index 000000000000..1b3937fa7312
--- /dev/null
+++ b/media-libs/libmetalink/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+</maintainer>
+</pkgmetadata>