wok-current view hardinfo/receipt @ rev 1511

Update some BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 05 23:16:15 2008 +0000 (2008-10-05)
parents e64f8e87ea6d
children 98a51003b20d
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 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 EOT
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
42 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
43 cd $fs/usr/share/pixmaps
44 rm ../$PACKAGE/pixmaps/logo.svg
45 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
46 }