linamh/www-client/prozilla/prozilla-2.0.4.ebuild
2010-02-22 03:46:38 +00:00

39 lines
867 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="A download manager"
HOMEPAGE="http://prozilla.genesys.ro/"
SRC_URI="http://prozilla.genesys.ro/downloads/prozilla/tarballs/${P}.tar.bz2
ftp://ftp.jpix.ad.jp/pub/FreeBSD/ports/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~ppc sparc x86"
IUSE=""
RDEPEND="virtual/libc
>=sys-libs/ncurses-5.2"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}"/prozilla-2.0.4-gcc4.patch
}
src_compile() {
econf --enable-shared
}
src_install () {
make DESTDIR="${D}" install || die "make install failed"
dodoc ANNOUNCE AUTHORS CREDITS ChangeLog FAQ NEWS README TODO
newdoc prozrc.sample prozilla.conf.example
rm -f "${D}"/usr/share/locale/locale.alias
}