Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6018 - (show annotations) (download)
Wed Aug 18 00:36:29 2010 UTC (13 years, 8 months ago) by niro
File size: 758 byte(s)
auto added: ver bump to 1.12-r2
1 # $Id: wget-1.12-r1.smage2 3829 2009-11-05 09:07:23Z niro $
2
3 PNAME="wget"
4 PVER="1.12"
5 PBUILD="r2"
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.19"
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 }