diff options
Diffstat (limited to 'media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild')
-rw-r--r-- | media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild b/media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild new file mode 100644 index 000000000000..9d754d605cdc --- /dev/null +++ b/media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmetalink/libmetalink-0.1.1-r1.ebuild,v 1.1 2014/06/13 08:21:37 mgorny Exp $ + +EAPI="5" + +inherit multilib-minimal + +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[${MULTILIB_USEDEP}] ) + xml? ( >=dev-libs/libxml2-2.6.24[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND} + test? ( dev-util/cunit[${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) +} |