wok view smartmontools/receipt @ rev 24091

get-pcem-roms: version less
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 17 19:56:00 2021 +0000 (2021-07-17)
parents d01348e6aa1c
children c1b9da2fd6c7
line source
1 # SliTaz package receipt.
3 PACKAGE="smartmontools"
4 VERSION="7.1"
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 ./configure \
21 CC=gcc-83 \
22 CXX=g++-83 \
23 --prefix=/usr \
24 --sysconfdir=/etc \
25 --with-nvme-devicescan \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 mkdir -p $fs/etc/init.d
37 cp -a $install/usr/sbin $fs/usr
38 cp $install/etc/smartd.conf $fs/etc/smartd.conf
39 install -g root -o root -m 755 \
40 $stuff/etc/init.d/smartd $fs/etc/init.d
41 }