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

Contents of /net-misc/jigdo/jigdo-0.7.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Sep 4 15:49:34 2009 UTC (10 years, 4 months ago) by jer
Branch: MAIN
Do not strip (bug #240938).
(Portage version: 2.2_rc40/cvs/Linux i686)

1 jer 1.1 # Copyright 1999-2009 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.3.ebuild,v 1.8 2008/04/29 19:15:09 drac Exp $
4    
5     EAPI="2"
6    
7     inherit eutils
8    
9     DESCRIPTION="Jigsaw Download is a tool designed to ease the distribution of large files, for example DVD images."
10     HOMEPAGE="http://atterer.net/jigdo/"
11     SRC_URI="http://atterer.net/jigdo/${P}.tar.bz2"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~ppc ~sparc ~x86"
16     IUSE="gtk nls berkdb libwww"
17    
18     RDEPEND="gtk? ( >=x11-libs/gtk+-2 )
19     berkdb? ( >=sys-libs/db-3.2 )
20     libwww? ( >=net-libs/libwww-5.3.2 )"
21     DEPEND="${RDEPEND}
22     nls? ( sys-devel/gettext )"
23    
24     src_prepare() {
25     epatch "${FILESDIR}"/${P}-gcc43.patch
26     epatch "${FILESDIR}"/${P}-strip.patch
27     }
28    
29     src_configure() {
30     local myconf
31    
32     use gtk && use libwww || myconf="${myconf} --without-gui"
33     use berkdb || myconf="${myconf} --without-libdb"
34    
35     econf $(use_enable nls) ${myconf}
36     }
37    
38     src_install() {
39     emake DESTDIR="${D}" install || die "emake install failed."
40     dodoc changelog README THANKS doc/{Hacking,README-bindist,TechDetails}.txt
41     dohtml doc/*.html
42     }

  ViewVC Help
Powered by ViewVC 1.1.20