wok-next view open-iscsi/receipt @ rev 5709

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