--- www-client/httrack/httrack-3.44.1.ebuild +++ www-client/httrack/httrack-3.44.1.ebuild @@ -2,7 +2,9 @@ # 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 +EAPI=4 + +inherit eutils versionator DESCRIPTION="HTTrack Website Copier, Open Source Offline Browser" HOMEPAGE="http://www.httrack.com/" @@ -13,14 +15,18 @@ KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" IUSE="" +src_prepare() { + epatch "${FILESDIR}"/${PN}-3.44.1-zlib-1.2.5.1-compile-fix.patch +} + src_compile() { - econf || die + econf # won't compile in parallel - emake -j1 || die + emake -j1 } src_install() { - make DESTDIR="${D}" install || die + emake DESTDIR="${D}" install dodoc AUTHORS README greetings.txt history.txt dohtml httrack-doc.html }