wok view hardinfo/receipt @ rev 1317

Add fping
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 28 08:39:05 2008 +0000 (2008-08-28)
parents 3364afe06006
children e64f8e87ea6d
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 patch -p0 < ../stuff/$file || exit 1
19 done <<EOT
20 modules.patch
21 users.patch
22 languages.patch
23 boots.patch
24 os.patch
25 EOT
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS
29 make
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
39 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
40 cd $fs/usr/share/pixmaps
41 rm ../$PACKAGE/pixmaps/logo.svg
42 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
43 }