wok-current annotate gsmartcontrol/receipt @ rev 22942

updated icewm again (1.3.8 -> 1.6.4)
author Hans-G?nter Theisgen
date Thu Feb 27 17:34:50 2020 +0100 (2020-02-27)
parents 7bb096863642
children af8d823a3077
rev   line source
pankso@4043 1 # SliTaz package receipt.
pankso@4043 2
pankso@4043 3 PACKAGE="gsmartcontrol"
pascal@13190 4 VERSION="0.8.6"
pankso@4043 5 CATEGORY="system-tools"
pankso@4043 6 SHORT_DESC="Hard disk drive health inspection tool (GUI for smartctl)."
pankso@4043 7 MAINTAINER="pankso@slitaz.org"
pascal@15215 8 LICENSE="GPL2 GPL3"
pankso@4043 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20673 10 WEB_SITE="https://gsmartcontrol.sourceforge.io/home/"
pankso@4048 11 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
pankso@4043 12
pankso@10655 13 DEPENDS="pcre glib gtk+ cairomm gtkmm smartmontools"
pankso@10655 14 BUILD_DEPENDS="pcre-dev glib-dev gtk+-dev cairomm-dev gtkmm-dev"
pankso@10655 15
pankso@4043 16 # Rules to configure and make the package.
pankso@4043 17 compile_rules()
pankso@4043 18 {
pankso@4043 19 cd $src
pascal@13190 20 sed -i '/ifndef _WIN32/{NNNNNNNNNd}' src/hz/sync_policy_glib.h
pascal@13190 21 sed -i 's/lock(hz_glib/lock(g/' src/hz/sync_policy_glib.h
pascal@13190 22
pankso@4043 23 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@10655 24 make && make DESTDIR=$DESTDIR install
pankso@4043 25 }
pankso@4043 26
pankso@4043 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4043 28 genpkg_rules()
pankso@4043 29 {
pankso@4043 30 mkdir -p $fs/usr/bin
pascal@15215 31 cp -a $install/usr/bin/gsmartcontrol $fs/usr/bin
pankso@4043 32 }