diff options
Diffstat (limited to 'net-misc/jigdo/jigdo-0.7.2.ebuild')
-rw-r--r-- | net-misc/jigdo/jigdo-0.7.2.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/net-misc/jigdo/jigdo-0.7.2.ebuild b/net-misc/jigdo/jigdo-0.7.2.ebuild new file mode 100644 index 000000000000..c09daf27f757 --- /dev/null +++ b/net-misc/jigdo/jigdo-0.7.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/jigdo/jigdo-0.7.2.ebuild,v 1.1 2005/08/20 19:22:38 weeve Exp $ + +inherit eutils + +DESCRIPTION="Jigsaw Download, or short jigdo, is a tool designed to ease the distribution of very large files over the internet, for example CD or DVD images." +HOMEPAGE="http://atterer.net/jigdo/" +SRC_URI="http://atterer.net/jigdo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +IUSE="gtk nls berkdb libwww" + +DEPEND="gtk? ( >=x11-libs/gtk+-2.0.6 ) + nls? ( sys-devel/gettext ) + berkdb? ( =sys-libs/db-3* ) + libwww? ( >=net-libs/libwww-5.3.2 )" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-64bit.patch +} + +src_compile() { + local myconf + + use nls || myconf="${myconf} --disable-nls" + use gtk && use libwww || myconf="${myconf} --without-gui" + use berkdb || myconf="${myconf} --without-libdb" + + ./configure \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man ${myconf} \ + --datadir=/usr/share || die "./configure failed" + + # Patch the Makefile so that when jidgo is installed, jigdo-lite has + # the correct path to the debian mirrors file. + epatch ${FILESDIR}/makefile.patch + + emake || die +} + +src_install() { + einstall || die + dodoc COPYING README THANKS VERSION changelog + dodoc doc/*.txt + dohtml doc/*.html +} |