wok-current annotate gsmartcontrol/receipt @ rev 16476

ARM: add python-routes + python-serial (but main python dont cook anymore)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 22 22:49:42 2014 +0200 (2014-04-22)
parents d1ca7c37020e
children e3f377fbc5f0
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"
pankso@4043 10 WEB_SITE="http://gsmartcontrol.berlios.de/"
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 }