# HG changeset patch # User Hans-G?nter Theisgen # Date 1570301017 -3600 # Node ID d01348e6aa1c80983eedbf41dfb633b886579373 # Parent e6a4cd87fdcb654e98030abff33a4134351ecd4d updated smartmontools (5.41 -> 7.0) diff -r e6a4cd87fdcb -r d01348e6aa1c smartmontools/receipt --- a/smartmontools/receipt Sat Oct 05 18:31:33 2019 +0200 +++ b/smartmontools/receipt Sat Oct 05 19:43:37 2019 +0100 @@ -1,23 +1,30 @@ # SliTaz package receipt. PACKAGE="smartmontools" -VERSION="5.41" +VERSION="7.0" CATEGORY="system-tools" SHORT_DESC="Monitors disk and tape health via S.M.A.R.T." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://smartmontools.org/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://smartmontools.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="gcc-lib-base" +DEPENDS="gcc83-lib-base" +BUILD_DEPENDS="gcc83" # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --prefix=/usr \ - --sysconfdir=/etc $CONFIGURE_ARGS && + export CC=gcc-83 + export CXX=g++-83 + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --with-nvme-devicescan \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -25,9 +32,11 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $fs/etc/init.d - cp -a $install/usr/sbin $fs/usr - cp $install/etc/smartd.conf $fs/etc/smartd.conf - install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d + mkdir -p $fs/usr + mkdir -p $fs/etc/init.d + + cp -a $install/usr/sbin $fs/usr + cp $install/etc/smartd.conf $fs/etc/smartd.conf + install -g root -o root -m 755 \ + $stuff/etc/init.d/smartd $fs/etc/init.d } -