wok view hardinfo/receipt @ rev 2683
Add: libev
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Wed Apr 22 17:08:17 2009 +0200 (2009-04-22) |
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 }