wok-next view hardinfo/receipt @ rev 21031
Random updates
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 15:42:26 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hardinfo"
4 VERSION="0.5.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="A tool to get hardware informations and perform benchmarks"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://hardinfo.berlios.de/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev"
16 compile_rules() {
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 sed -i 's/^GTK_LIBS.*/& -lgmodule-2.0 -lm/' Makefile &&
21 make &&
22 make DESTDIR=$install install
23 }
25 genpkg_rules() {
26 mkdir -p $fs/usr/lib/$PACKAGE/modules $fs/usr/share/pixmaps
27 cp -a $install/usr/bin $fs/usr
28 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
29 cp -a $install/usr/share/$PACKAGE $fs/usr/share
31 cd $fs/usr/share/pixmaps
32 rm ../$PACKAGE/pixmaps/logo.xcf
33 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
34 DEPENDS="gtk2 pciutils xorg-libXdamage"
35 }