wok view gsmartcontrol/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents 3a37bcf4ef92
children d1ca7c37020e
line source
1 # SliTaz package receipt.
3 PACKAGE="gsmartcontrol"
4 VERSION="0.8.5"
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 ./configure --prefix=/usr $CONFIGURE_ARGS &&
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $_pkg/usr/bin/gsmartcontrol $fs/usr/bin
28 }