wok-next annotate gsmartcontrol/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | 7bb096863642 |
children | 342b30daff76 |
rev | line source |
---|---|
pankso@4043 | 1 # SliTaz package receipt. |
pankso@4043 | 2 |
pankso@4043 | 3 PACKAGE="gsmartcontrol" |
pascal@20349 | 4 VERSION="0.9.0" |
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" |
pascal@20349 | 10 WEB_SITE="https://gsmartcontrol.sourceforge.io/home/" |
pascal@20349 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$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 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@10655 | 20 make && make DESTDIR=$DESTDIR install |
pankso@4043 | 21 } |
pankso@4043 | 22 |
pankso@4043 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4043 | 24 genpkg_rules() |
pankso@4043 | 25 { |
pankso@4043 | 26 mkdir -p $fs/usr/bin |
pascal@15215 | 27 cp -a $install/usr/bin/gsmartcontrol $fs/usr/bin |
pankso@4043 | 28 } |