wok-stable view wget/receipt @ rev 1903

linux-wireless: update DEPENDS.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 20 22:36:54 2008 +0100 (2008-12-20)
parents 4f809380ad57
children 57a049c42f13
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="openssl"
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 }