wok-next view lshw/receipt @ rev 4734
file: Split package ( file, libmagic, libmagic-dev) + update DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 07 12:00:40 2010 +0100 (2010-01-07) |
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 }