wok-next view hardinfo/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | a54f561b0931 |
children | f48456621a9d |
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="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://hardinfo.berlios.de/"
11 WGET_URL="http://download.berlios.de/hardinfo/$TARBALL"
13 DEPENDS="gtk+ pciutils xorg-libXdamage"
14 BUILD_DEPENDS="gtk+ gtk+-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 sed -i 's/^GTK_LIBS.*/& -lgmodule-2.0 -lm/' Makefile && make &&
23 make DESTDIR=$DESTDIR 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/pixmaps
30 cp -a $install/usr/bin $fs/usr
31 cp -a $src/*.so $fs/usr/lib/$PACKAGE/modules
32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 cd $fs/usr/share/pixmaps
34 rm ../$PACKAGE/pixmaps/logo.xcf
35 ln -s ../$PACKAGE/pixmaps/logo.png hardinfo.png
36 }