Magellan Linux

Annotation of /branches/magellan-next/core/wget/wget-1.13.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9029 - (hide annotations) (download)
Mon Oct 3 12:19:39 2011 UTC (12 years, 7 months ago) by niro
File size: 831 byte(s)
auto added: ver bump to 1.13.4-r1
1 niro 9029 # $Id$
2    
3     PNAME="wget"
4     PVER="1.13.4"
5     PBUILD="r1"
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    
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     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40     # force use openssl not gnutls
41     mconfigure --with-ssl=openssl || die
42     mmake || die
43     }