summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-client/httrack/Manifest1
-rw-r--r--www-client/httrack/httrack-3.48.22.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/www-client/httrack/Manifest b/www-client/httrack/Manifest
index cd0882778aeb..855de2b04d9a 100644
--- a/www-client/httrack/Manifest
+++ b/www-client/httrack/Manifest
@@ -1 +1,2 @@
DIST httrack-3.48.21.tar.gz 1805754 SHA256 871b60a1e22d7ac217e4e14ad4d562fbad5df7c370e845f1ecf5c0e4917be482 SHA512 1cf98225488e8d9570bb55c48ef1a04dcd48184f2285497c6fb4beaeb28d3ce4751c85783253baa73de1bd21c4bf01b0acd6beede77373c2f622a4124dc19246 WHIRLPOOL 3bc85e0e094dfd5eef20658af0a0681e78105b6f4fcd8a4235b2bc0bf0381d5ab2b2ed206a06acb9ab34c3cf0ffe0664f73ee04f018fdd61476a8e645006a252
+DIST httrack-3.48.22.tar.gz 1834758 SHA256 b2831ad7b48e933959f83a9de8a72bcaa0f8eb87e9453ad85debd50d33a9c48f SHA512 9252aec5fce454b6e95b4bdb89dd60e86eb3f01c4cebffe14e3f9288bec8e295c03f6543f5458293f78be7b9001520100aacb0fe79bb78322e1085b1a7232684 WHIRLPOOL 0e881d7c4050bed3ee7df6ca07a092e45a53ec0671c427bf891d34c798e857f130c37753d00bf6b3ac1882d58b73d3e323ad99bc005a5eff813de5009abefdf1
diff --git a/www-client/httrack/httrack-3.48.22.ebuild b/www-client/httrack/httrack-3.48.22.ebuild
new file mode 100644
index 000000000000..8f5c193fff31
--- /dev/null
+++ b/www-client/httrack/httrack-3.48.22.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils
+
+DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
+HOMEPAGE="http://www.httrack.com/"
+SRC_URI="http://mirror.httrack.com/historical/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE="libressl static-libs"
+
+RDEPEND=">=sys-libs/zlib-1.2.5.1-r1
+ !libressl? ( dev-libs/openssl:= )
+ libressl? ( dev-libs/libressl )
+ "
+DEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS README greetings.txt history.txt )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.48.13-minizip.patch
+}
+
+src_configure() {
+ econf $(use_enable static-libs static) \
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html
+}
+
+src_install() {
+ default
+
+ # Make webhttrack work despite FEATURES=nodoc cutting
+ # all of /usr/share/doc/ away (bug #493376)
+ if has nodoc ${FEATURES} ; then
+ dodir /usr/share/${PF}/
+ mv "${D}"/usr/share/{doc/,}${PF}/html || die
+
+ rm "${D}"/usr/share/${PN}/html || die
+ dosym /usr/share/${PF}/html /usr/share/${PN}/html
+ fi
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}