# HG changeset patch # User Pascal Bellard # Date 1265047991 -3600 # Node ID c93adc9f2c01a10fd88a9cc4d15fd0a58c9add36 # Parent 92ec79fce82b374d0b48b8b5a7c1f0cd75d74f00 Add open-iscsi diff -r 92ec79fce82b -r c93adc9f2c01 open-iscsi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/open-iscsi/receipt Mon Feb 01 19:13:11 2010 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="open-iscsi" +VERSION="2.0-871" +CATEGORY="network" +SHORT_DESC="Implementation of RFC3720 userland utilities." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.open-iscsi.org/" +WGET_URL="${WEB_SITE}bits/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + if [ ! -d $WOK/linux/taz ]; then + tazwok cook linux + fi + make KSRC=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $_pkg/etc $fs + cp -a $_pkg/sbin $fs +} +