wok view gsmartcontrol/receipt @ rev 13389
autossh: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 24 11:39:21 2012 +0200 (2012-09-24) |
parents | 4ae2b0a61e64 |
children | 7bb096863642 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gsmartcontrol"
4 VERSION="0.8.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hard disk drive health inspection tool (GUI for smartctl)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gsmartcontrol.berlios.de/"
10 WGET_URL="http://download.berlios.de/$PACKAGE/$TARBALL"
12 DEPENDS="pcre glib gtk+ cairomm gtkmm smartmontools"
13 BUILD_DEPENDS="pcre-dev glib-dev gtk+-dev cairomm-dev gtkmm-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i '/ifndef _WIN32/{NNNNNNNNNd}' src/hz/sync_policy_glib.h
20 sed -i 's/lock(hz_glib/lock(g/' src/hz/sync_policy_glib.h
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin
30 cp -a $_pkg/usr/bin/gsmartcontrol $fs/usr/bin
31 }