wok annotate smartmontools/receipt @ rev 19305

ppp, dropbear: filter CONFIG_FILES
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 10 12:10:59 2016 +0200 (2016-07-10)
parents 1ef5ff7449cf
children d01348e6aa1c
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="smartmontools"
slaxemulator@11038 4 VERSION="5.41"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15593 8 LICENSE="GPL2"
erjo@621 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@621 10 WEB_SITE="http://smartmontools.sourceforge.net/"
slaxemulator@11038 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
erjo@621 12
pascal@15593 13 DEPENDS="gcc-lib-base"
pascal@15593 14
erjo@621 15 # Rules to configure and make the package.
erjo@621 16 compile_rules()
erjo@621 17 {
erjo@621 18 cd $src
erjo@621 19 ./configure --prefix=/usr \
pascal@5007 20 --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@5007 21 make &&
slaxemulator@11038 22 make DESTDIR=$DESTDIR install
erjo@621 23 }
erjo@621 24
erjo@621 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 26 genpkg_rules()
erjo@621 27 {
erjo@621 28 mkdir -p $fs/usr $fs/etc/init.d
pascal@15593 29 cp -a $install/usr/sbin $fs/usr
pascal@15593 30 cp $install/etc/smartd.conf $fs/etc/smartd.conf
slaxemulator@11038 31 install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d
erjo@621 32 }
erjo@621 33