wok-current view wget/receipt @ rev 1558

add the real wget, needed by get-texlive
author Pierre-Jean Fichet <sygne@ombres.eu>
date Sun Oct 12 23:19:02 2008 +0200 (2008-10-12)
parents
children 71793d4be150
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.9"
5 CATEGORY="utilities"
6 SHORT_DESC="retrieve files from the web"
7 MAINTAINER="sygne@ombres.eu"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/wget/wget.html"
11 WGET_URL="http://ftp.gnu.org/gnu/wget/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure
18 make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 echo $_pkg
25 mkdir -p $fs/usr
26 cp -a $_pkg/usr/local/bin $fs/usr
27 strip -s $fs/usr/bin/*
28 }
30 # Post install rules.
31 post_install()
32 {
33 echo -e "
34 wget is in conflict with the busybox wget.
35 You'll have to re-install it after each busybox update.
36 If you want to use the busybox wget, do (as root):
37 \033[1m ln -s /bin/busybox /usr/bin/wget \033[0m
38 "
39 }