Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9842 - (show annotations) (download)
Fri Jan 13 12:09:43 2012 UTC (12 years, 4 months ago) by niro
File size: 866 byte(s)
-added ca-certificates
1 # $Id$
2
3 PNAME="wget"
4 PVER="1.13.4"
5 PBUILD="r2"
6
7 PCATEGORIE="net-misc"
8
9 DESCRIPTION="A useful utility for non-interactive downloading of files from the web."
10 HOMEPAGE="http://wget.sunsite.dk/"
11
12 DEPEND=">= dev-libs/openssl-1.0.0
13 >= net-dns/libidn-1.22
14 >= sys-libs/zlib-1.2.5
15 >= app-crypt/ca-certificates-2011"
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 }
37
38 src_compile()
39 {
40 cd ${SRCDIR}
41 # force use openssl not gnutls
42 mconfigure --with-ssl=openssl || die
43 mmake || die
44 }