wok-current view hardinfo/receipt @ rev 14908
slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 03 17:37:48 2013 +0300 (2013-08-03) |
parents | 0b4cf0d9e1b5 |
children | 1ae5963f23df |
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 || return 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 }