wok-6.x view 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
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 }