wok diff open-iscsi/receipt @ rev 17008
Add scrollkeeper and scrollkeeper-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Tue Aug 12 14:40:13 2014 -0300 (2014-08-12) |
parents | 3a7b7a59bdae |
children | 9e01bc6321ea |
line diff
1.1 --- a/open-iscsi/receipt Thu Mar 31 00:28:17 2011 +0200 1.2 +++ b/open-iscsi/receipt Tue Aug 12 14:40:13 2014 -0300 1.3 @@ -5,9 +5,11 @@ 1.4 CATEGORY="network" 1.5 SHORT_DESC="Implementation of RFC3720 userland utilities." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 +LICENSE="GPL2" 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WEB_SITE="http://www.open-iscsi.org/" 1.10 WGET_URL="${WEB_SITE}bits/$TARBALL" 1.11 + 1.12 DEPENDS="linux-scsi" 1.13 1.14 # Rules to configure and make the package. 1.15 @@ -17,16 +19,16 @@ 1.16 sed -i 's/ install_kernel / /' Makefile 1.17 sed -i 's|dirent.h>|&\n#include <sys/types.h>\n#include <sys/stat.h>|' \ 1.18 usr/iscsi_sysfs.c 1.19 - make user 1.20 - make DESTDIR=$PWD/_pkg install 1.21 - 1.22 + sed -i "s|/etc/iscsi/initiatorname.iscsi|$DESTDIR&|" Makefile 1.23 + make user 2>&1 | grep -v 'slitaz/build/Makefile' 1.24 + make DESTDIR=$DESTDIR install 1.25 } 1.26 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 - cp -a $_pkg/etc $fs 1.31 - cp -a $_pkg/sbin $fs 1.32 + cp -a $install/etc $fs 1.33 + cp -a $install/sbin $fs 1.34 } 1.35 1.36 post_install()