linamh/www-client/httrack/httrack-3.44.1.ebuild

28 lines
754 B
Bash
Raw Normal View History

2011-11-19 16:55:48 +01:00
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-client/httrack/httrack-3.44.1.ebuild,v 1.1 2011/04/21 16:40:31 vanquirius Exp $
inherit versionator
DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser"
HOMEPAGE="http://www.httrack.com/"
SRC_URI="http://download.httrack.com/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
src_compile() {
sed -i '1i#define OF(x) x' src/minizip/*.h
econf || die
# won't compile in parallel
emake -j1 || die
}
src_install() {
make DESTDIR="${D}" install || die
dodoc AUTHORS README greetings.txt history.txt
dohtml httrack-doc.html
}