wok-6.x view smartmontools/receipt @ rev 18878

Add xwax (1.5) (K3nn3th request)
author Lucas Levrel <llevrel@yahoo.fr>
date Mon Feb 08 23:04:27 2016 +0100 (2016-02-08)
parents 1ef5ff7449cf
children d01348e6aa1c
line source
1 # SliTaz package receipt.
3 PACKAGE="smartmontools"
4 VERSION="5.41"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://smartmontools.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d
29 cp -a $install/usr/sbin $fs/usr
30 cp $install/etc/smartd.conf $fs/etc/smartd.conf
31 install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d
32 }