summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/mulk/mulk-0.6.0.ebuild')
-rw-r--r--net-misc/mulk/mulk-0.6.0.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/net-misc/mulk/mulk-0.6.0.ebuild b/net-misc/mulk/mulk-0.6.0.ebuild
new file mode 100644
index 000000000000..545c6088e812
--- /dev/null
+++ b/net-misc/mulk/mulk-0.6.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit base
+
+MY_PV=${PV/_beta/}
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Download agent similar to wget/curl"
+HOMEPAGE="http://mulk.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="checksum debug metalink"
+
+DEPEND="net-misc/curl
+ app-text/htmltidy
+ dev-libs/uriparser
+ metalink? (
+ media-libs/libmetalink
+ checksum? ( dev-libs/openssl )
+ )"
+
+REQUIRE_USE="checksum? ( metalink )"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-large-file.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable debug) \
+ $(use_enable metalink) \
+ $(use metalink && use checksum && echo --enable-checksum)
+}