wok-current view open-iscsi/receipt @ rev 7909

Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:03:10 2011 +0000 (2011-01-09)
parents 4db9d03b37f4
children 44b5e07e53a8
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"
11 DEPENDS="linux-scsi"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/ install_kernel / /' Makefile
18 make user
19 make 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 }