wok view hardinfo/receipt @ rev 1479
madwifi: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 14:46:49 2008 +0000 (2008-10-04) |
parents | 307f8bb243e3 |
children | 3d99ecce2d4b |
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 while read file; do
18 [ -f done.$file ] && continue
19 patch -p0 < ../stuff/$file || exit 1
20 touch done.$file
21 done <<EOT
22 modules.patch
23 users.patch
24 languages.patch
25 boots.patch
26 os.patch
27 EOT
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
39 cp -a $_pkg/usr/bin $fs/usr
40 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
41 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
42 cd $fs/usr/share/pixmaps
43 rm ../$PACKAGE/pixmaps/logo.svg
44 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
45 }