wok view rgzip/receipt @ rev 5782

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 10 11:19:46 2010 +0200 (2010-07-10)
parents e02cd99c2517
children fb0ec6e33ae9
line source
1 # SliTaz package receipt.
3 PACKAGE="rgzip"
4 VERSION="0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Rsync friendly gzip."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://svana.org/kleptog/rgzip.html"
10 FILE="http://svana.org/kleptog/rgzip.c"
11 DEPENDS="busybox" # gzip
12 TAGS="compression"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir $src
18 cd $src
19 [ -f $SOURCES_REPOSITORY/rgzip.c ] || wget $FILE -P $SOURCES_REPOSITORY
20 cp $SOURCES_REPOSITORY/rgzip.c .
21 make rgzip
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp $src/rgzip $fs/usr/bin
29 }