/[gentoo-x86]/net-misc/wget/wget-1.8.2-r2.ebuild
Gentoo

Diff of /net-misc/wget/wget-1.8.2-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/Attic/wget-1.8.2-r2.ebuild,v 1.13 2003/11/02 07:23:10 seemant Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/Attic/wget-1.8.2-r2.ebuild,v 1.14 2003/11/10 22:51:43 gregf Exp $
4 4
5inherit gnuconfig 5inherit gnuconfig
6 6
7IUSE="ssl nls static debug socks5"
8
7NPVER=20011209 9NPVER=20031022
8DESCRIPTION="Network utility to retrieve files from the WWW" 10DESCRIPTION="Network utility to retrieve files from the WWW"
9HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html" 11HOMEPAGE="http://www.cg.tuwien.ac.at/~prikryl/wget.html"
10SRC_URI="mirror://gnu/wget/${P}.tar.gz 12SRC_URI="mirror://gnu/wget/${P}.tar.gz"
11 mirror://gentoo/wget-new-percentage-cvs-${NPVER}.tar.gz
12 ipv6? mirror://gentoo/${P}-ipv6-debian.patch.bz2"
13 13
14LICENSE="GPL-2" 14LICENSE="GPL-2"
15SLOT="0" 15SLOT="0"
16KEYWORDS="amd64 x86 ppc sparc alpha hppa arm mips ia64" 16KEYWORDS="~x86 ~ppc ~sparc ~alpha ~hppa ~arm ~mips ~amd64 ~ia64"
17IUSE="ssl nls static ipv6 debug"
18 17
19RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )" 18RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )"
20DEPEND="nls? ( sys-devel/gettext )" 19DEPEND="nls? ( sys-devel/gettext )"
21 20
21
22src_unpack() { 22src_unpack() {
23 unpack ${A} 23 unpack ${P}.tar.gz
24 24 epatch ${DISTDIR}/${P}+ipvmisc.patch
25 cd ${S}
26 epatch ${FILESDIR}/${P}-gentoo.diff
27
28 cd ${S}/src
29 epatch ${WORKDIR}/wget-new-percentage/wnp-20011208-2.diff
30
31 if use ipv6
32 then
33 cd ${S}
34 epatch ${WORKDIR}/${P}-ipv6-debian.patch
35 fi
36} 25}
37 26
38src_compile() { 27src_compile() {
39 # Make wget use up-to-date configure scripts 28 # Make wget use up-to-date configure scripts
40 gnuconfig_update 29 gnuconfig_update
41 30
42 local myconf 31 local myconf
43 use nls || myconf="--disable-nls" 32 use ssl \
44 use ssl && myconf="${myconf} --with-ssl" 33 && myconf="${myconf} --with-ssl" \
45 use ssl || myconf="${myconf} --without-ssl --disable-opie --disable-digest" 34 || myconf="${myconf} --without-ssl --disable-opie --disable-digest"
46 use debug && myconf="${myconf} --disable-debug" 35
47 use ssl && CFLAGS="${CFLAGS} -I/usr/include/openssl" 36 use ssl && CFLAGS="${CFLAGS} -I/usr/include/openssl"
48 ./configure --prefix=/usr --sysconfdir=/etc/wget \ 37
49 --infodir=/usr/share/info --mandir=usr/share/man $myconf || die 38 econf \
39 --sysconfdir=/etc/wget \
40 `use_enable nls` \
41 `use_enable debug` \
42 `use_with socks5 socks` \
43 ${myconf} || die
44
50 if use static; then 45 if use static; then
51 make LDFLAGS="--static" || die 46 emake LDFLAGS="--static" || die
52 else 47 else
53 make || die 48 emake || die
54 fi 49 fi
55} 50}
56 51
57src_install() { 52src_install() {
58 if use build; then 53 if use build; then

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20