/[gentoo-x86]/net-misc/wget/wget-1.9.1-r5.ebuild
Gentoo

Contents of /net-misc/wget/wget-1.9.1-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (hide annotations) (download)
Tue Aug 18 08:32:50 2009 UTC (10 years, 2 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED
old

1 seemant 1.16 # Copyright 1999-2007 Gentoo Foundation
2 seemant 1.1 # Distributed under the terms of the GNU General Public License v2
3 vapier 1.18 # $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.9.1-r5.ebuild,v 1.17 2008/12/07 06:00:15 vapier Exp $
4 seemant 1.1
5 vapier 1.11 inherit eutils flag-o-matic
6 seemant 1.1
7 seemant 1.12 PATCHVER=0.4
8 seemant 1.1 DESCRIPTION="Network utility to retrieve files from the WWW"
9 seemant 1.16 HOMEPAGE="http://www.gnu.org/software/wget/"
10 seemant 1.1 SRC_URI="mirror://gnu/wget/${P}.tar.gz
11 seemant 1.13 mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
12 seemant 1.1
13     LICENSE="GPL-2"
14     SLOT="0"
15 grobian 1.15 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
16 vapier 1.17 IUSE="debug ipv6 nls socks5 ssl static"
17 seemant 1.1
18     RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
19     socks5? ( net-proxy/dante )"
20     DEPEND="${RDEPEND}
21     nls? ( sys-devel/gettext )
22     sys-devel/autoconf"
23    
24     src_unpack() {
25 seemant 1.12 unpack ${A} ; cd "${S}"
26 vapier 1.11 local PATCHDIR=${WORKDIR}/patches
27     EPATCH_SUFFIX="patch"
28     EPATCH_MULTI_MSG="Applying Gentoo patches ..." epatch "${PATCHDIR}"/gentoo
29     EPATCH_MULTI_MSG="Applying Debian patches ..." epatch "${PATCHDIR}"/debian
30     EPATCH_MULTI_MSG="Applying Mandrake patches ..." epatch "${PATCHDIR}"/mandrake
31     autoconf || die "autoconf failed"
32 seemant 1.1 }
33    
34     src_compile() {
35 vapier 1.11 use static && append-ldflags -static
36 seemant 1.1 econf \
37     --sysconfdir=/etc/wget \
38     $(use_with ssl) $(use_enable ssl opie) $(use_enable ssl digest) \
39     $(use_enable ipv6) \
40     $(use_enable nls) \
41     $(use_enable debug) \
42     $(use_with socks5 socks) \
43     || die
44 vapier 1.11 emake || die
45 seemant 1.1 }
46    
47     src_install() {
48 vapier 1.11 make DESTDIR="${D}" install || die
49     dodoc AUTHORS ChangeLog MACHINES MAILING-LIST NEWS README TODO
50 seemant 1.1 dodoc doc/sample.wgetrc
51     }

  ViewVC Help
Powered by ViewVC 1.1.20