wok-next annotate hardinfo/receipt @ rev 714
openbox: moved menu, autostart.sh, rc.xml and slitaz theme to slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 02 19:05:18 2008 +0200 (2008-05-02) |
parents | c2f0c4bc32ae |
children | 3364afe06006 |
rev | line source |
---|---|
pankso@518 | 1 # SliTaz package receipt. |
pankso@518 | 2 |
pankso@518 | 3 PACKAGE="hardinfo" |
pankso@518 | 4 VERSION="0.4.2.3" |
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" |
pankso@518 | 8 DEPENDS="gtk+ pciutils" |
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 |
pankso@518 | 13 # Rules to configure and make the package. |
pankso@518 | 14 compile_rules() |
pankso@518 | 15 { |
pankso@518 | 16 cd $src |
pankso@622 | 17 patch -p0 < ../stuff/modules.patch || exit 1 |
pankso@622 | 18 patch -p0 < ../stuff/users.patch || exit 1 |
pascal@694 | 19 patch -p0 < ../stuff/languages.patch || exit 1 |
pascal@694 | 20 patch -p0 < ../stuff/boots.patch || exit 1 |
pankso@518 | 21 ./configure \ |
pankso@518 | 22 --prefix=/usr \ |
pankso@518 | 23 $CONFIGURE_ARGS |
pankso@518 | 24 make |
pankso@518 | 25 make DESTDIR=$PWD/_pkg install |
pankso@518 | 26 } |
pankso@518 | 27 |
pankso@518 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@518 | 29 genpkg_rules() |
pankso@518 | 30 { |
pankso@518 | 31 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share |
pankso@518 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@518 | 33 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules |
pankso@518 | 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@671 | 35 rm $fs/usr/share/$PACKAGE/pixmaps/logo.svg |
pankso@518 | 36 } |
pankso@518 | 37 |