wok-4.x view hardinfo/receipt @ rev 650
Add: xsane (graphical frontend to sane)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 22 21:35:05 2008 +0200 (2008-04-22) |
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 }