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