/[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.3 - (hide annotations) (download)
Tue Feb 21 14:57:19 2012 UTC (7 years, 10 months ago) by ago
Branch: MAIN
Changes since 1.2: +3 -3 lines
Stable for amd64, wrt bug #404839

(Portage version: 2.1.10.44/cvs/Linux x86_64)

1 ago 1.3 # Copyright 1999-2012 Gentoo Foundation
2 jer 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/jigdo/jigdo-0.7.3-r1.ebuild,v 1.2 2011/03/28 17:05:49 angelos Exp $
4 jer 1.1
5 angelos 1.2 EAPI=3
6 jer 1.1 inherit eutils
7    
8     DESCRIPTION="Jigsaw Download is a tool designed to ease the distribution of large files, for example DVD images."
9     HOMEPAGE="http://atterer.net/jigdo/"
10 angelos 1.2 SRC_URI="http://atterer.net/${PN}/${P}.tar.bz2"
11 jer 1.1
12     LICENSE="GPL-2"
13     SLOT="0"
14 ago 1.3 KEYWORDS="amd64 ~ppc ~sparc ~x86"
15 jer 1.1 IUSE="gtk nls berkdb libwww"
16    
17 angelos 1.2 RDEPEND="gtk? ( x11-libs/gtk+:2 )
18 jer 1.1 berkdb? ( >=sys-libs/db-3.2 )
19     libwww? ( >=net-libs/libwww-5.3.2 )"
20     DEPEND="${RDEPEND}
21     nls? ( sys-devel/gettext )"
22    
23     src_prepare() {
24 angelos 1.2 epatch "${FILESDIR}"/${P}-gcc43.patch \
25     "${FILESDIR}"/${P}-strip.patch
26 jer 1.1 }
27    
28     src_configure() {
29     local myconf
30    
31     use gtk && use libwww || myconf="${myconf} --without-gui"
32     use berkdb || myconf="${myconf} --without-libdb"
33    
34     econf $(use_enable nls) ${myconf}
35     }
36    
37     src_install() {
38     emake DESTDIR="${D}" install || die "emake install failed."
39     dodoc changelog README THANKS doc/{Hacking,README-bindist,TechDetails}.txt
40     dohtml doc/*.html
41     }

  ViewVC Help
Powered by ViewVC 1.1.20