wok-current rev 8054
add gzip
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 21 00:34:35 2011 +0100 (2011-01-21) |
parents | 2d4d32500e28 |
children | 9e1674525e2f |
files | gzip-full/receipt gzip/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gzip-full/receipt Fri Jan 21 00:34:35 2011 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gzip-full" 1.7 +VERSION="1.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Gzip full programs" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="gzip" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.gnu.org/software/gzip/" 1.14 +WANTED="gzip" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/bin 1.20 + cp -a $_pkg/usr/bin/z* $fs/usr/bin 1.21 + cp -a $_pkg/usr/bin/un* $fs/usr/bin 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gzip/receipt Fri Jan 21 00:34:35 2011 +0100 2.3 @@ -0,0 +1,33 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gzip" 2.7 +VERSION="1.4" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Data compression program" 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="glibc-base" 2.12 +BUILD_DEPENDS="glibc-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.gnu.org/software/gzip/" 2.15 +WGET_URL="http://ftp.gnu.org/gnu/gzip/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure \ 2.22 + --prefix=/usr \ 2.23 + --infodir=/usr/share/info \ 2.24 + --mandir=/usr/share/man \ 2.25 + $CONFIGURE_ARGS && 2.26 + make && make DESTDIR=$PWD/_pkg install 2.27 +} 2.28 + 2.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.30 +genpkg_rules() 2.31 +{ 2.32 + mkdir -p $fs/usr/bin 2.33 + cp -a $_pkg/usr/bin/gzip $fs/usr/bin 2.34 + cp -a $_pkg/usr/bin/gunzip $fs/usr/bin 2.35 +} 2.36 +