2012-11-03 07:24:48 +01:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2010-10-04 21:24:16 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Header: $
|
|
|
|
|
|
|
|
EAPI="2"
|
|
|
|
|
|
|
|
inherit eutils autotools
|
|
|
|
|
|
|
|
DESCRIPTION="A download manager"
|
|
|
|
HOMEPAGE="http://prozilla.genesys.ro/"
|
|
|
|
SRC_URI="http://ftp.disconnected-by-peer.at/prozilla/${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="static nls pic"
|
|
|
|
|
|
|
|
RDEPEND="virtual/libc
|
|
|
|
>=sys-libs/ncurses-5.2"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
>=sys-apps/sed-4"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
eautoreconf
|
|
|
|
}
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
econf --enable-shared \
|
|
|
|
$(use_enable static) \
|
|
|
|
$(use_enable nls) \
|
|
|
|
$(use_with pic)
|
|
|
|
}
|
|
|
|
|
2012-11-03 07:31:21 +01:00
|
|
|
src_install() {
|
2010-10-04 21:24:16 +02:00
|
|
|
make DESTDIR="${D}" install || die "make install failed"
|
|
|
|
dodoc AUTHORS CREDITS* ChangeLog docs/FAQ libprozilla/docs/HACKING NEWS README TODO
|
|
|
|
insinto /etc
|
|
|
|
newins "${FILESDIR}"/prozrc.sample prozilla.conf
|
|
|
|
|
|
|
|
rm -f "${D}"/usr/share/locale/locale.alias
|
|
|
|
}
|