wok-6.x annotate smartmontools/receipt @ rev 23767
updated firefox-official packages (75.0 -> 76.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 09 11:07:16 2020 +0100 (2020-05-09) |
parents | d01348e6aa1c |
children | c1b9da2fd6c7 |
rev | line source |
---|---|
erjo@621 | 1 # SliTaz package receipt. |
erjo@621 | 2 |
erjo@621 | 3 PACKAGE="smartmontools" |
Hans-G?nter@23650 | 4 VERSION="7.1" |
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 |
erjo@621 | 17 # Rules to configure and make the package. |
erjo@621 | 18 compile_rules() |
erjo@621 | 19 { |
Hans-G?nter@21923 | 20 ./configure \ |
Hans-G?nter@23650 | 21 CC=gcc-83 \ |
Hans-G?nter@23650 | 22 CXX=g++-83 \ |
Hans-G?nter@21923 | 23 --prefix=/usr \ |
Hans-G?nter@21923 | 24 --sysconfdir=/etc \ |
Hans-G?nter@21923 | 25 --with-nvme-devicescan \ |
Hans-G?nter@21923 | 26 $CONFIGURE_ARGS && |
pascal@5007 | 27 make && |
slaxemulator@11038 | 28 make DESTDIR=$DESTDIR install |
erjo@621 | 29 } |
erjo@621 | 30 |
erjo@621 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@621 | 32 genpkg_rules() |
erjo@621 | 33 { |
Hans-G?nter@21923 | 34 mkdir -p $fs/usr |
Hans-G?nter@21923 | 35 mkdir -p $fs/etc/init.d |
Hans-G?nter@21923 | 36 |
Hans-G?nter@21923 | 37 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@21923 | 38 cp $install/etc/smartd.conf $fs/etc/smartd.conf |
Hans-G?nter@21923 | 39 install -g root -o root -m 755 \ |
Hans-G?nter@21923 | 40 $stuff/etc/init.d/smartd $fs/etc/init.d |
erjo@621 | 41 } |