wok-6.x annotate hardinfo/receipt @ rev 16998
pcmanfm: fix tazpkg icon and "terminal is not set" in pcmanfm, delete dbus-launch with overwrite /home/*/.xinitrc
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Mon Aug 11 01:56:38 2014 +0200 (2014-08-11) |
parents | 036b997ec7e1 |
children | e3f377fbc5f0 |
rev | line source |
---|---|
pankso@518 | 1 # SliTaz package receipt. |
pankso@518 | 2 |
pankso@518 | 3 PACKAGE="hardinfo" |
slaxemulator@6223 | 4 VERSION="0.5.1" |
pankso@518 | 5 CATEGORY="system-tools" |
pankso@518 | 6 SHORT_DESC="A tool to get hardware informations and perform benchmarks." |
pankso@518 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15171 | 8 LICENSE="GPL2" |
pankso@518 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@518 | 10 WEB_SITE="http://hardinfo.berlios.de/" |
pankso@518 | 11 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL" |
pankso@518 | 12 |
pascal@15171 | 13 DEPENDS="gtk+ pciutils xorg-libXdamage" |
pascal@15171 | 14 BUILD_DEPENDS="gtk+ gtk+-dev" |
pascal@15171 | 15 |
pankso@518 | 16 # Rules to configure and make the package. |
pankso@518 | 17 compile_rules() |
pankso@518 | 18 { |
pankso@518 | 19 cd $src |
pascal@726 | 20 while read file; do |
pascal@1442 | 21 [ -f done.$file ] && continue |
slaxemulator@9700 | 22 patch -p0 < $stuff/$file || return 1 |
pascal@1442 | 23 touch done.$file |
pascal@726 | 24 done <<EOT |
pascal@726 | 25 languages.patch |
pascal@726 | 26 os.patch |
pascal@726 | 27 EOT |
pankso@518 | 28 ./configure \ |
pankso@518 | 29 --prefix=/usr \ |
pascal@1442 | 30 $CONFIGURE_ARGS && |
pascal@15307 | 31 sed -i 's/^GTK_LIBS.*/& -lgmodule-2.0 -lm/' Makefile && make && |
pascal@15171 | 32 make DESTDIR=$DESTDIR install |
pankso@518 | 33 } |
pankso@518 | 34 |
pankso@518 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@518 | 36 genpkg_rules() |
pankso@518 | 37 { |
pankso@760 | 38 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps |
pascal@15171 | 39 cp -a $install/usr/bin $fs/usr |
pankso@518 | 40 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules |
pascal@15171 | 41 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
pankso@760 | 42 cd $fs/usr/share/pixmaps |
slaxemulator@6223 | 43 rm ../$PACKAGE/pixmaps/logo.xcf |
pankso@760 | 44 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png |
pankso@518 | 45 } |
pankso@518 | 46 |