wok annotate rgzip/receipt @ rev 8693

Automated merge with http://repos.slitaz.org/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 19:08:45 2011 +0100 (2011-02-17)
parents e02cd99c2517
children fb0ec6e33ae9
rev   line source
pascal@5206 1 # SliTaz package receipt.
pascal@5206 2
pascal@5206 3 PACKAGE="rgzip"
pascal@5206 4 VERSION="0"
pascal@5206 5 CATEGORY="system-tools"
pascal@5206 6 SHORT_DESC="Rsync friendly gzip."
pascal@5206 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5206 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5206 9 WEB_SITE="http://svana.org/kleptog/rgzip.html"
pascal@5206 10 FILE="http://svana.org/kleptog/rgzip.c"
pascal@5206 11 DEPENDS="busybox" # gzip
pascal@5206 12 TAGS="compression"
pascal@5206 13
pascal@5206 14 # Rules to configure and make the package.
pascal@5206 15 compile_rules()
pascal@5206 16 {
pascal@5206 17 mkdir $src
pascal@5206 18 cd $src
pascal@5554 19 [ -f $SOURCES_REPOSITORY/rgzip.c ] || wget $FILE -P $SOURCES_REPOSITORY
pascal@5554 20 cp $SOURCES_REPOSITORY/rgzip.c .
pascal@5206 21 make rgzip
pascal@5206 22 }
pascal@5206 23
pascal@5206 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5206 25 genpkg_rules()
pascal@5206 26 {
pascal@5206 27 mkdir -p $fs/usr/bin
pascal@5206 28 cp $src/rgzip $fs/usr/bin
pascal@5206 29 }
pascal@5206 30