wok-6.x view hardinfo/receipt @ rev 6223

Up: hardinfo to 0.5.1. It only uses languages and os patches now i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 22:56:32 2010 +0000 (2010-09-11)
parents be4b9618ea05
children 0b4cf0d9e1b5
line source
1 # SliTaz package receipt.
3 PACKAGE="hardinfo"
4 VERSION="0.5.1"
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 xorg-libXdamage"
9 BUILD_DEPENDS="gtk+ gtk+-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://hardinfo.berlios.de/"
12 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 while read file; do
19 [ -f done.$file ] && continue
20 patch -p0 < ../stuff/$file || exit 1
21 touch done.$file
22 done <<EOT
23 languages.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.xcf
42 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
43 }