wok-current view smartmontools/receipt @ rev 22611
updated codiad ( -> 2.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 10 13:31:59 2020 +0100 (2020-01-10) |
parents | 3b4e4318134e |
children | ac5a77f54ad3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="smartmontools"
4 VERSION="7.0"
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 WEB_SITE="https://smartmontools.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --with-nvme-devicescan \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 mkdir -p $fs/etc/init.d
38 cp -a $install/usr/sbin $fs/usr
39 cp $install/etc/smartd.conf $fs/etc/smartd.conf
40 install -g root -o root -m 755 \
41 $stuff/etc/init.d/smartd $fs/etc/init.d
42 }