wok-next view hardinfo/receipt @ rev 586
iFix: Typo in newt-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Apr 16 01:14:00 2008 +0200 (2008-04-16) |
parents | |
children | b22fba97e731 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://hardinfo.berlios.de/"
11 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
31 }