wok-4.x view hardinfo/receipt @ rev 622
hardinfo: get the right path for lsmod and user id
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 00:18:12 2008 +0200 (2008-04-21) |
parents | 70b2d74dff92 |
children | c2f0c4bc32ae |
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 patch -p0 < ../stuff/modules.patch || exit 1
18 patch -p0 < ../stuff/users.patch || exit 1
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 }