wok-current view hardinfo/receipt @ rev 15137
Up mdadm (3.2.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 10:58:00 2013 +0000 (2013-08-15) |
parents | d1768332cee0 |
children | 036b997ec7e1 |
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 export LDFLAGS="-Wl,--copy-dt-needed-entries -lgmodule"
19 while read file; do
20 [ -f done.$file ] && continue
21 patch -p0 < $stuff/$file || return 1
22 touch done.$file
23 done <<EOT
24 languages.patch
25 os.patch
26 EOT
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
40 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
41 cd $fs/usr/share/pixmaps
42 rm ../$PACKAGE/pixmaps/logo.xcf
43 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
44 }