wok-current 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 92ec79fce82b
children 66a4c6eee289
files open-iscsi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/open-iscsi/receipt	Mon Feb 01 19:13:11 2010 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="open-iscsi"
     1.7 +VERSION="2.0-871"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Implementation of RFC3720 userland utilities."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.open-iscsi.org/"
    1.13 +WGET_URL="${WEB_SITE}bits/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	if [ ! -d $WOK/linux/taz ]; then
    1.20 +		tazwok cook linux
    1.21 +	fi
    1.22 +	make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) DESTDIR=$PWD/_pkg install
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $_pkg/etc $fs
    1.29 +	cp -a $_pkg/sbin $fs
    1.30 +}
    1.31 +