wok diff lshw/receipt @ rev 17503

grep: fix busybox paths (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 08 11:02:18 2015 +0100 (2015-01-08)
parents 02bbaa9d12ba
children 6e8b1bcb30e2
line diff
     1.1 --- a/lshw/receipt	Mon Apr 04 01:29:52 2011 +0200
     1.2 +++ b/lshw/receipt	Thu Jan 08 11:02:18 2015 +0100
     1.3 @@ -5,11 +5,13 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Hardware Lister"
     1.6  MAINTAINER="erjo@slitaz.org"
     1.7 -DEPENDS="gcc-lib-base"
     1.8 +LICENSE="GPL2"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter"
    1.11  WGET_URL="http://ezix.org/software/files/$TARBALL"
    1.12  
    1.13 +DEPENDS="gcc-lib-base"
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -19,14 +21,14 @@
    1.19  	sed -i 's|#include <scsi/scsi.h>|#define u8 __u8\n&|' \
    1.20  		src/core/scsi.cc src/core/burner.cc
    1.21  	make &&
    1.22 -	make DESTDIR=$PWD/_pkg install
    1.23 +	make DESTDIR=$DESTDIR install
    1.24  }
    1.25  
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29  	mkdir -p $fs/usr/share
    1.30 -	cp -a $_pkg/usr/sbin $fs/usr
    1.31 -	cp -a $_pkg/usr/share/lshw $fs/usr/share
    1.32 +	cp -a $install/usr/sbin $fs/usr
    1.33 +	cp -a $install/usr/share/lshw $fs/usr/share
    1.34  }
    1.35