DIST libmetalink-0.1.0.tar.bz2 324033 SHA256 501c980b0892e1c25bd20f0c69a166672571caf56a732d73851ff3e6a2eb0cf6 SHA512 50d6dd0a7def447261d44a586a2971b646f69d82e67e7c181c01a876e9177f164f3e9d67268dd0064b6b4ba9555ce2932eb9753e2d291f5263f5622af6e06bda WHIRLPOOL 6070a0578a555b8c11b0e6da69f768da13832467cfe50a552775d03af9df0f400470ed9cdc043aac5e9a7fabec1b721bcfd14cfe3828440d5c59898ca62f5eb8
DIST libmetalink-0.1.1.tar.bz2 324472 SHA256 fd6d45c84c10cbc7a6e1b0ebbd81198a01866fa88cd01ceb2b0c448f5e74bcfb SHA512 9e9a2bf17b3696b199844703377cf6615bab44fd61b89be9afef579c21b0ac462f156719f60df9b8e7f7a9edb259d9bf461f20cd11ad9960d8376bf20e04f62c WHIRLPOOL 8ac61f6c4e739d752c5a7547bc9894d9a4a1bf5085cc67eda30d0d8cf14ffb1790f122b9a452452f91319400c10a31dd9995ea422148adc6d666db2392606962
+DIST libmetalink-0.1.3.tar.bz2 327482 SHA256 0753ae1152d970dc3bf327d0ce5cfefeca2f1ab13294b115e64811163a68fd4f SHA512 2c944a00f9460447ecf961685d7cfa80243fec7ad462dc2339fba0e944d0b92ff42bdf07032f2ee0695f0cd004e4c45bfe21e5246e1355a0d43756605894c632 WHIRLPOOL 81aa0bf18f6cdec11de276d4521a5e06d748517e4514d9f01a13ac76025ba2c852824cffb9d06792e14ea3d39ed400368e5ff7bde208ece2ec923dcbf0fc23d3
--- /dev/null
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit multilib-minimal
+
+DESCRIPTION="Library for handling Metalink files"
+HOMEPAGE="https://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-2.1.0-r3[${MULTILIB_USEDEP}] )
+ xml? ( >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}] )"
+DEPEND="${RDEPEND}
+ test? ( >=dev-util/cunit-2.1_p2[${MULTILIB_USEDEP}] )"
+
+REQUIRED_USE="^^ ( expat xml )"
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(use_with expat libexpat) \
+ $(use_with xml libxml2) \
+ $(use_enable static-libs static)
+}