# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 DESCRIPTION="High-level retrieval and download library for FTP and HTTP(S)" HOMEPAGE="http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/net/libfetch/" SRC_URI="http://distfiles.foxkit.us/source/${PN}/${P}.tar.bz2" LICENSE="BSD-2" SLOT="0" KEYWORDS="arm mips ppc x86 x86_64 ~alpha ~arm64 ~hppa ~ppc64 ~sparc64" IUSE="+ipv6 +ssl" DEPEND="ssl? ( dev-libs/openssl:0 )" RDEPEND="${DEPEND}" src_compile() { use ssl || export FETCH_WITH_OPENSSL=false use ipv6 || export FETCH_WITH_INET6=false emake }