wok-6.x view hardinfo/receipt @ rev 5932
Up: netsurf(2.5)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 30 16:57:43 2010 +0200 (2010-07-30) |
parents | 98a51003b20d |
children | 4de2c7803ae7 |
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 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 modules.patch
24 users.patch
25 languages.patch
26 boots.patch
27 os.patch
28 usb.patch
29 EOT
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
43 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
44 cd $fs/usr/share/pixmaps
45 rm ../$PACKAGE/pixmaps/logo.svg
46 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
47 }