wok-6.x view smartmontools/receipt @ rev 22443
vlc: add hicolor-icon-theme -> post-install misses index.theme
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon Dec 23 15:29:27 2019 +0000 (2019-12-23) |
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 }