# SliTaz package receipt. PACKAGE="smartmontools" VERSION="5.41" CATEGORY="system-tools" SHORT_DESC="Monitors disk and tape health via S.M.A.R.T." MAINTAINER="erjo@slitaz.org" DEPENDS="gcc-lib-base" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://smartmontools.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --sysconfdir=/etc $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr $fs/etc/init.d cp -a $_pkg/usr/sbin $fs/usr cp $_pkg/etc/smartd.conf $fs/etc/smartd.conf install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d }