wok-6.x diff lshw/receipt @ rev 506

ADD: slang, slang-dev, ntpclient, bzip2-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Mar 31 23:50:23 2008 +0200 (2008-03-31)
parents
children a075ff895254
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lshw/receipt	Mon Mar 31 23:50:23 2008 +0200
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lshw"
     1.7 +VERSION="B.02.12.01"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Hardware Lister"
    1.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter"
    1.14 +WGET_URL="http://ezix.org/software/files/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	make
    1.21 +	make DESTDIR=$PWD/_pkg install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/share
    1.28 +	cp -a $_pkg/usr/sbin $fs/usr
    1.29 +	cp -a $_pkg/usr/share/lshw $fs/usr/share
    1.30 +	
    1.31 +	strip -s $fs/usr/sbin/*
    1.32 +}
    1.33 +