summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libfetch/Manifest1
-rw-r--r--dev-libs/libfetch/libfetch-2.33.ebuild24
-rw-r--r--dev-libs/libfetch/metadata.xml17
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-libs/libfetch/Manifest b/dev-libs/libfetch/Manifest
new file mode 100644
index 000000000..578da15fa
--- /dev/null
+++ b/dev-libs/libfetch/Manifest
@@ -0,0 +1 @@
+DIST libfetch-2.33.tar.bz2 37587 SHA256 18be85b6d9aed3d9e8406c60e5b8a304bcaf0ad3799b894fcd121464ba2659f6 SHA512 571e686cf51d6d89e981bd05168a5f76e90778662af5e7da1fd1cc244941beb1657b48d6ef482d08a6b69d30b81bb4505bdb8083bff178f7a4e8ac05e4c63630 WHIRLPOOL 952e113a6c5b3f6a586a13dada7a39b7fc4a313a102060f44dcab1f23155ae685e2b54661974608605862fd0547bbbafe63a8d8489c85b84e3c692713809e05f
diff --git a/dev-libs/libfetch/libfetch-2.33.ebuild b/dev-libs/libfetch/libfetch-2.33.ebuild
new file mode 100644
index 000000000..4ca3a76b1
--- /dev/null
+++ b/dev-libs/libfetch/libfetch-2.33.ebuild
@@ -0,0 +1,24 @@
+# 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
+}
diff --git a/dev-libs/libfetch/metadata.xml b/dev-libs/libfetch/metadata.xml
new file mode 100644
index 000000000..eed2eb07e
--- /dev/null
+++ b/dev-libs/libfetch/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ libfetch provides a high-level interface for retreiving and uploading
+ files using Uniform Resource Locators (URLs).
+
+ The library implements:
+
+ * local file access (file://)
+ * FTP
+ * HTTP
+ * HTTPS (optional, using OpenSSL)
+
+ FTP and HTTP proxies can be used.
+ </longdescription>
+</pkgmetadata>