You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
798 B
31 lines
798 B
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
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)
|
|
}
|