wok-6.x view smartmontools/receipt @ rev 15593
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 03 18:28:51 2013 +0000 (2013-12-03) |
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 }