wok-next 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 | e8fa5f0b1fb0 |
children | 3613f8f29a86 |
files | wget/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wget/receipt Sun Oct 12 23:19:02 2008 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wget" 1.7 +VERSION="1.9" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="retrieve files from the web" 1.10 +MAINTAINER="sygne@ombres.eu" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.gnu.org/software/wget/wget.html" 1.14 +WGET_URL="http://ftp.gnu.org/gnu/wget/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure 1.21 + make DESTDIR=$PWD/_pkg install 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + echo $_pkg 1.28 + mkdir -p $fs/usr 1.29 + cp -a $_pkg/usr/local/bin $fs/usr 1.30 + strip -s $fs/usr/bin/* 1.31 +} 1.32 + 1.33 +# Post install rules. 1.34 +post_install() 1.35 +{ 1.36 + echo -e " 1.37 +wget is in conflict with the busybox wget. 1.38 +You'll have to re-install it after each busybox update. 1.39 +If you want to use the busybox wget, do (as root): 1.40 +\033[1m ln -s /bin/busybox /usr/bin/wget \033[0m 1.41 +" 1.42 +} 1.43 + 1.44 +