wok-next diff lshw/receipt @ rev 19978

Receipts v2: xmlrpc-c, yaml, zeromq.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 18 03:15:00 2017 +0300 (2017-10-18)
parents 02bbaa9d12ba
children a3c581bf52b8
line diff
     1.1 --- a/lshw/receipt	Mon Apr 04 01:29:52 2011 +0200
     1.2 +++ b/lshw/receipt	Wed Oct 18 03:15:00 2017 +0300
     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