wok-next annotate gsmartcontrol/receipt @ rev 14635
Up ScummVM
author | Brenton Scott <admin@trixarian.net> |
---|---|
date | Sun Jun 02 07:16:29 2013 +0200 (2013-06-02) |
parents | 4ae2b0a61e64 |
children | 7bb096863642 |
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" |
pankso@4043 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4043 | 9 WEB_SITE="http://gsmartcontrol.berlios.de/" |
pankso@4048 | 10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL" |
pankso@4043 | 11 |
pankso@10655 | 12 DEPENDS="pcre glib gtk+ cairomm gtkmm smartmontools" |
pankso@10655 | 13 BUILD_DEPENDS="pcre-dev glib-dev gtk+-dev cairomm-dev gtkmm-dev" |
pankso@10655 | 14 |
pankso@4043 | 15 # Rules to configure and make the package. |
pankso@4043 | 16 compile_rules() |
pankso@4043 | 17 { |
pankso@4043 | 18 cd $src |
pascal@13190 | 19 sed -i '/ifndef _WIN32/{NNNNNNNNNd}' src/hz/sync_policy_glib.h |
pascal@13190 | 20 sed -i 's/lock(hz_glib/lock(g/' src/hz/sync_policy_glib.h |
pascal@13190 | 21 |
pankso@4043 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@10655 | 23 make && make DESTDIR=$DESTDIR install |
pankso@4043 | 24 } |
pankso@4043 | 25 |
pankso@4043 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4043 | 27 genpkg_rules() |
pankso@4043 | 28 { |
pankso@4043 | 29 mkdir -p $fs/usr/bin |
pankso@4043 | 30 cp -a $_pkg/usr/bin/gsmartcontrol $fs/usr/bin |
pankso@4043 | 31 } |