wok annotate gsmartcontrol/receipt @ rev 16377
Add flrec - Audio recorder
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 15 00:52:16 2014 +0200 (2014-04-15) |
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 } |