wok-stable view lshw/receipt @ rev 4481

linux: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 14 15:44:04 2009 +0100 (2009-11-14)
parents a075ff895254
children 8752c40cc534
line source
1 # SliTaz package receipt.
3 PACKAGE="lshw"
4 VERSION="B.02.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hardware Lister"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter"
11 WGET_URL="http://ezix.org/software/files/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
18 cd $src
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/share/lshw $fs/usr/share
30 strip -s $fs/usr/sbin/*
31 }