summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-03-26 21:46:23 -0500
committerAndrew Wilcox <AWilcox@Wilcox-Tech.com>2016-03-26 21:46:23 -0500
commit6a61cca966cba28012319ade725299abfc02a447 (patch)
tree8eec62bddce05850c66d45bf3513400e310991d8 /dev-libs
parent2c78acd55d594b8b797fcaaf8c5d80304be14db3 (diff)
downloadpackages-6a61cca966cba28012319ade725299abfc02a447.tar.gz
packages-6a61cca966cba28012319ade725299abfc02a447.tar.bz2
packages-6a61cca966cba28012319ade725299abfc02a447.tar.xz
packages-6a61cca966cba28012319ade725299abfc02a447.zip
dev-libs/libfetch: EAPI=6, removing eutils
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libfetch/libfetch-2.33-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-libs/libfetch/libfetch-2.33-r1.ebuild b/dev-libs/libfetch/libfetch-2.33-r1.ebuild
new file mode 100644
index 000000000..8598d4c85
--- /dev/null
+++ b/dev-libs/libfetch/libfetch-2.33-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2015-2016 Adélie Linux Team
+# Distributed under the terms of the NCSA License
+
+EAPI=6
+
+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}"
+
+PATCHES=( "${FILESDIR}"/${P}-remove-hardcoded-compiler.patch )
+
+src_compile() {
+ use ssl || export FETCH_WITH_OPENSSL=false
+ use ipv6 || export FETCH_WITH_INET6=false
+
+ emake
+}