wok annotate open-iscsi/receipt @ rev 4852

Add open-iscsi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 01 19:13:11 2010 +0100 (2010-02-01)
parents
children 66a4c6eee289
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@4852 19 make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) DESTDIR=$PWD/_pkg install
pascal@4852 20 }
pascal@4852 21
pascal@4852 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4852 23 genpkg_rules()
pascal@4852 24 {
pascal@4852 25 cp -a $_pkg/etc $fs
pascal@4852 26 cp -a $_pkg/sbin $fs
pascal@4852 27 }
pascal@4852 28