/[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.6 - (hide annotations) (download)
Sun Mar 18 17:54:04 2012 UTC (7 years, 10 months ago) by armin76
Branch: MAIN
Changes since 1.5: +2 -2 lines
Drop sparc keywords

(Portage version: 2.1.10.49/cvs/Linux ia64)

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 armin76 1.6 # $Header: /var/cvsroot/gentoo-x86/net-misc/jigdo/jigdo-0.7.3-r1.ebuild,v 1.5 2012/02/24 19:43:53 ranger 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 armin76 1.6 KEYWORDS="amd64 ppc 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