/[gentoo-x86]/net-misc/jigdo/jigdo-0.7.1.ebuild
Gentoo

Contents of /net-misc/jigdo/jigdo-0.7.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Fri Jan 25 21:15:27 2008 UTC (11 years, 10 months ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
old
(Portage version: 2.1.3.19)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/jigdo/jigdo-0.7.1.ebuild,v 1.5 2006/09/08 22:29:04 wormo Exp $
4
5 inherit eutils
6
7 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."
8 HOMEPAGE="http://atterer.net/jigdo/"
9 SRC_URI="http://atterer.net/jigdo/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="x86 sparc ~ppc ~amd64"
14
15 IUSE="gtk nls berkdb libwww"
16
17 DEPEND="gtk? ( >=x11-libs/gtk+-2.0.6 )
18 nls? ( sys-devel/gettext )
19 berkdb? ( =sys-libs/db-3* )
20 libwww? ( >=net-libs/libwww-5.3.2 )"
21
22 src_compile() {
23 local myconf
24
25 use nls || myconf="${myconf} --disable-nls"
26 use gtk && use libwww || myconf="${myconf} --without-gui"
27 use berkdb || myconf="${myconf} --without-libdb"
28
29 ./configure \
30 --host=${CHOST} \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man ${myconf} \
34 --datadir=/usr/share || die "./configure failed"
35
36 # Patch the Makefile so that when jidgo is installed, jigdo-lite has
37 # the correct path to the debian mirrors file.
38 epatch ${FILESDIR}/makefile.patch
39
40 emake || die
41 }
42
43 src_install() {
44 einstall || die
45 dodoc COPYING README THANKS VERSION changelog
46 dodoc doc/*.txt
47 dohtml doc/*.html
48 }

  ViewVC Help
Powered by ViewVC 1.1.20