wok-next view hardinfo/receipt @ rev 714
openbox: moved menu, autostart.sh, rc.xml and slitaz theme to slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:05:18 2008 +0200 (2008-05-02) |
parents | c2f0c4bc32ae |
children | 3364afe06006 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardinfo"
4 VERSION="0.4.2.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="A tool to get hardware informations and perform benchmarks."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ pciutils"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://hardinfo.berlios.de/"
11 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 patch -p0 < ../stuff/modules.patch || exit 1
18 patch -p0 < ../stuff/users.patch || exit 1
19 patch -p0 < ../stuff/languages.patch || exit 1
20 patch -p0 < ../stuff/boots.patch || exit 1
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS
24 make
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 rm $fs/usr/share/$PACKAGE/pixmaps/logo.svg
36 }