wok rev 21923
updated smartmontools (5.41 -> 7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 05 19:43:37 2019 +0100 (2019-10-05) |
parents | e6a4cd87fdcb |
children | 70a88c677f40 |
files | smartmontools/receipt |
line diff
1.1 --- a/smartmontools/receipt Sat Oct 05 18:31:33 2019 +0200 1.2 +++ b/smartmontools/receipt Sat Oct 05 19:43:37 2019 +0100 1.3 @@ -1,23 +1,30 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="smartmontools" 1.7 -VERSION="5.41" 1.8 +VERSION="7.0" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T." 1.11 MAINTAINER="erjo@slitaz.org" 1.12 LICENSE="GPL2" 1.13 +WEB_SITE="https://smartmontools.org/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://smartmontools.sourceforge.net/" 1.17 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.18 1.19 -DEPENDS="gcc-lib-base" 1.20 +DEPENDS="gcc83-lib-base" 1.21 +BUILD_DEPENDS="gcc83" 1.22 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 { 1.26 - cd $src 1.27 - ./configure --prefix=/usr \ 1.28 - --sysconfdir=/etc $CONFIGURE_ARGS && 1.29 + export CC=gcc-83 1.30 + export CXX=g++-83 1.31 + 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --sysconfdir=/etc \ 1.35 + --with-nvme-devicescan \ 1.36 + $CONFIGURE_ARGS && 1.37 make && 1.38 make DESTDIR=$DESTDIR install 1.39 } 1.40 @@ -25,9 +32,11 @@ 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr $fs/etc/init.d 1.45 - cp -a $install/usr/sbin $fs/usr 1.46 - cp $install/etc/smartd.conf $fs/etc/smartd.conf 1.47 - install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d 1.48 + mkdir -p $fs/usr 1.49 + mkdir -p $fs/etc/init.d 1.50 + 1.51 + cp -a $install/usr/sbin $fs/usr 1.52 + cp $install/etc/smartd.conf $fs/etc/smartd.conf 1.53 + install -g root -o root -m 755 \ 1.54 + $stuff/etc/init.d/smartd $fs/etc/init.d 1.55 } 1.56 -