/[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 - (show annotations) (download)
Tue Aug 18 08:32:50 2009 UTC (10 years, 1 month ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +1 -1 lines
FILE REMOVED
old

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $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
5 inherit eutils flag-o-matic
6
7 PATCHVER=0.4
8 DESCRIPTION="Network utility to retrieve files from the WWW"
9 HOMEPAGE="http://www.gnu.org/software/wget/"
10 SRC_URI="mirror://gnu/wget/${P}.tar.gz
11 mirror://gentoo/${P}-gentoo-${PATCHVER}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
16 IUSE="debug ipv6 nls socks5 ssl static"
17
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 unpack ${A} ; cd "${S}"
26 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 }
33
34 src_compile() {
35 use static && append-ldflags -static
36 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 emake || die
45 }
46
47 src_install() {
48 make DESTDIR="${D}" install || die
49 dodoc AUTHORS ChangeLog MACHINES MAILING-LIST NEWS README TODO
50 dodoc doc/sample.wgetrc
51 }

  ViewVC Help
Powered by ViewVC 1.1.20