Magellan Linux

Contents of /smage/trunk/core/wget/wget-1.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 107 - (show annotations) (download)
Wed Jan 6 13:15:35 2010 UTC (14 years, 3 months ago) by niro
File size: 807 byte(s)
-mcore-split
1 # $Id$
2
3 PNAME="wget"
4 PVER="1.12"
5 PBUILD="r1"
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=""
14
15 SRCFILE="${PNAME}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
17
18 MCORE_ONLY_KEEP="etc/wgetrc usr/bin/wget"
19 sminclude mbuild mcore-split
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 mconfigure --without-ssl --without-libidn || die
41 mmake || die
42 }

Properties

Name Value
svn:keywords Id