wok-6.x annotate rgzip/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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