diff options
Diffstat (limited to 'dev-libs/http-fetcher')
-rw-r--r-- | dev-libs/http-fetcher/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild | 35 | ||||
-rw-r--r-- | dev-libs/http-fetcher/metadata.xml | 10 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/http-fetcher/Manifest b/dev-libs/http-fetcher/Manifest new file mode 100644 index 000000000000..947861d8afaa --- /dev/null +++ b/dev-libs/http-fetcher/Manifest @@ -0,0 +1 @@ +DIST http_fetcher-1.1.0.tar.gz 382470 SHA256 79c8456b8fde48644662146d1b70bc5d247416c7298599e6721d0ce9e94bd675 SHA512 136eceabc317bc4bf9956272ebbdae735ff589012ed0b17210fdb70051389bb7b3c1b43cdfc322a340e5538e9fd60b7b5216d3d46c439ac9df6af29e621bb1fa WHIRLPOOL 0535083667d321a0c7744635925c7f75b28ef407edcb8a9279b3734479d5510fa46f1041813a36d0ae68a3b174ab488e84ae1346669f85b5b0b4afc8a0d14b6a diff --git a/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild new file mode 100644 index 000000000000..162125f0ca9b --- /dev/null +++ b/dev-libs/http-fetcher/http-fetcher-1.1.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +MY_P="${P/-/_}" +S="${WORKDIR}/${MY_P}" +DESCRIPTION="small, robust, flexible library for downloading files via HTTP using the GET method" +HOMEPAGE="http://http-fetcher.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="alpha amd64 ppc x86" +IUSE="debug" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -r '/AC_DEFUN/s/(AC_PATH_HFETCHER)/[\1]/' -i \ + http-fetcher.m4 +} + +src_compile() { + econf \ + --disable-strict \ + $(use_enable debug) \ + || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + dohtml -r docs/index.html docs/html + dodoc README ChangeLog CREDITS INSTALL +} diff --git a/dev-libs/http-fetcher/metadata.xml b/dev-libs/http-fetcher/metadata.xml new file mode 100644 index 000000000000..d2f6452b4c9b --- /dev/null +++ b/dev-libs/http-fetcher/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">http-fetcher</remote-id> + </upstream> +</pkgmetadata> |