wok rev 15289

open-iscsi: remove a wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 26 18:27:26 2013 +0000 (2013-09-26)
parents b034cb9d7f7c
children 44d062fcbe9b
files open-iscsi/receipt
line diff
     1.1 --- a/open-iscsi/receipt	Thu Sep 26 17:57:02 2013 +0000
     1.2 +++ b/open-iscsi/receipt	Thu Sep 26 18:27:26 2013 +0000
     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()