Magellan Linux

Contents of /branches/magellan-next/core/wget/wget-1.12-r3.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7590 - (show annotations) (download)
Thu May 26 22:17:01 2011 UTC (12 years, 11 months ago) by niro
File size: 705 byte(s)
auto added: ver bump to 1.12-r3
1 # $Id$
2
3 PNAME="wget"
4 PVER="1.12"
5 PBUILD="r3"
6
7 PCATEGORIE="net-misc"
8 STATE="unstable"
9
10 DESCRIPTION="A useful utility for non-interactive downloading of files from the web."
11 HOMEPAGE="http://wget.sunsite.dk/"
12
13 DEPEND=">= dev-libs/openssl-1.0.0
14 >= net-dns/libidn-1.22"
15
16 SRCFILE="${PNAME}-${PVER}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
18
19 sminclude mbuild
20
21 SRC_URI=(
22 gnu://${PNAME}/${SRCFILE}
23 mirror://${PNAME}/${SRCFILE}
24 )
25
26 UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME}/?C=M;O=A\" | grep ${PNAME}-[0-9].* | lasttarball gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # enable passive mode by default
34 sed -i 's:#passive_ftp = off:passive_ftp = on:g' doc/sample.wgetrc || die
35 }