Contents of /branches/magellan-next/core/wget/wget-1.12-r3.smage2
Parent Directory | Revision Log
Revision 7952 -
(show annotations)
(download)
Sun Jun 5 03:01:12 2011 UTC (13 years, 3 months ago) by niro
File size: 729 byte(s)
Sun Jun 5 03:01:12 2011 UTC (13 years, 3 months ago) by niro
File size: 729 byte(s)
-fixed dependencies
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 | >= sys-libs/zlib-1.2.5" |
16 | |
17 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | |
22 | SRC_URI=( |
23 | gnu://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2DATE="updatecmd \"http://ftp.gnu.org/gnu/${PNAME}/?C=M;O=A\" | grep ${PNAME}-[0-9].* | lasttarball gz" |
28 | |
29 | src_prepare() |
30 | { |
31 | munpack ${SRCFILE} || die |
32 | cd ${SRCDIR} |
33 | |
34 | # enable passive mode by default |
35 | sed -i 's:#passive_ftp = off:passive_ftp = on:g' doc/sample.wgetrc || die |
36 | } |