wok view wget/receipt @ rev 11166

Up: gdk-pixbuf to 2.24.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 07:04:48 2011 +0000 (2011-11-02)
parents a6e36f74605c
children fdf32f3b2d65
line source
1 # SliTaz package receipt.
3 PACKAGE="wget"
4 VERSION="1.13.4"
5 CATEGORY="utilities"
6 SHORT_DESC="retrieve files from the web"
7 MAINTAINER="sygne@ombres.eu"
8 TARBALL="$PACKAGE-$VERSION.tar.xz"
9 WEB_SITE="http://www.gnu.org/software/wget/wget.html"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="openssl libidn"
13 BUILD_DEPENDS="openssl-dev libidn-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --with-ssl=openssl $CONFIGURE_ARGS &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 }
30 # Post install rules.
31 post_install()
32 {
33 echo -e "
34 wget is in conflict with the busybox wget.
35 If you want to use the busybox wget, do (as root):
36 \033[1m ln -s /bin/busybox /usr/bin/wget \033[0m
37 "
38 }
40 # Pre and post install commands for Tazpkg.
41 # We must remove all Busybox symlink before installing.
42 #
43 pre_install()
44 {
45 local root
46 root=$1
47 echo "Processing pre-install commands..."
48 echo -n "Removing all Busybox replaced utils... "
49 rm -f $root/usr/bin/wget
50 status
51 }
53 post_remove()
54 {
55 ln -s /bin/busybox $1/usr/bin/wget
56 }