wok-6.x annotate smartmontools/receipt @ rev 24289
updated sshguard (2.4.0 -> 2.4.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 14 13:25:50 2022 +0100 (2022-01-14) |
parents | c1b9da2fd6c7 |
children | 86b32ffcf7ac |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="smartmontools" |
Hans-G?nter@24286 | 4 VERSION="7.2" |
erjo@621 | 5 CATEGORY="system-tools" |
erjo@621 | 6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T." |
erjo@784 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15593 | 8 LICENSE="GPL2" |
Hans-G?nter@21923 | 9 WEB_SITE="https://smartmontools.org/" |
Hans-G?nter@21923 | 10 |
erjo@621 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@11038 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
erjo@621 | 13 |
Hans-G?nter@21923 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@21923 | 15 BUILD_DEPENDS="gcc83" |
pascal@15593 | 16 |
pascal@24288 | 17 current_version() |
pascal@24288 | 18 { |
pascal@24288 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24288 | 20 sed '/version/!d;s|.*version ||;s| .*||;q' |
pascal@24288 | 21 } |
pascal@24288 | 22 |
erjo@621 | 23 # Rules to configure and make the package. |
erjo@621 | 24 compile_rules() |
erjo@621 | 25 { |
Hans-G?nter@21923 | 26 ./configure \ |
Hans-G?nter@23650 | 27 CC=gcc-83 \ |
Hans-G?nter@23650 | 28 CXX=g++-83 \ |
Hans-G?nter@21923 | 29 --prefix=/usr \ |
Hans-G?nter@21923 | 30 --sysconfdir=/etc \ |
Hans-G?nter@21923 | 31 --with-nvme-devicescan \ |
Hans-G?nter@21923 | 32 $CONFIGURE_ARGS && |
pascal@5007 | 33 make && |
Hans-G?nter@24286 | 34 make install DESTDIR=$DESTDIR |
erjo@621 | 35 } |
erjo@621 | 36 |
erjo@621 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 38 genpkg_rules() |
erjo@621 | 39 { |
Hans-G?nter@21923 | 40 mkdir -p $fs/usr |
Hans-G?nter@21923 | 41 mkdir -p $fs/etc/init.d |
Hans-G?nter@21923 | 42 |
Hans-G?nter@21923 | 43 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21923 | 44 cp $install/etc/smartd.conf $fs/etc/smartd.conf |
Hans-G?nter@21923 | 45 install -g root -o root -m 755 \ |
Hans-G?nter@21923 | 46 $stuff/etc/init.d/smartd $fs/etc/init.d |
erjo@621 | 47 } |