wok annotate open-iscsi/receipt @ rev 6138
fbida, libwapcaplet-dev, recorder: fix category
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 07 21:57:26 2010 +0200 (2010-09-07) |
parents | c93adc9f2c01 |
children | 951c1b0c279f |
rev | line source |
---|---|
pascal@4852 | 1 # SliTaz package receipt. |
pascal@4852 | 2 |
pascal@4852 | 3 PACKAGE="open-iscsi" |
pascal@4852 | 4 VERSION="2.0-871" |
pascal@4852 | 5 CATEGORY="network" |
pascal@4852 | 6 SHORT_DESC="Implementation of RFC3720 userland utilities." |
pascal@4852 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@4852 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4852 | 9 WEB_SITE="http://www.open-iscsi.org/" |
pascal@4852 | 10 WGET_URL="${WEB_SITE}bits/$TARBALL" |
pascal@4852 | 11 |
pascal@4852 | 12 # Rules to configure and make the package. |
pascal@4852 | 13 compile_rules() |
pascal@4852 | 14 { |
pascal@4852 | 15 cd $src |
pascal@4852 | 16 if [ ! -d $WOK/linux/taz ]; then |
pascal@4852 | 17 tazwok cook linux |
pascal@4852 | 18 fi |
pascal@4853 | 19 make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) |
pascal@4852 | 20 make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) DESTDIR=$PWD/_pkg install |
pascal@4852 | 21 } |
pascal@4852 | 22 |
pascal@4852 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4852 | 24 genpkg_rules() |
pascal@4852 | 25 { |
pascal@4852 | 26 cp -a $_pkg/etc $fs |
pascal@4852 | 27 cp -a $_pkg/sbin $fs |
pascal@4852 | 28 } |
pascal@4852 | 29 |