wok annotate smartmontools/receipt @ rev 22418

libxfce4util: build fails for 4.14, using last release 4.12: error: expected ')' before 'GObject'
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 15 08:33:18 2019 +0000 (2019-12-15)
parents 3b4e4318134e
children ac5a77f54ad3
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="smartmontools"
Hans-G?nter@21923 4 VERSION="7.0"
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 export CC=gcc-83
Hans-G?nter@21923 21 export CXX=g++-83
Hans-G?nter@21923 22
Hans-G?nter@21923 23 ./configure \
Hans-G?nter@21923 24 --prefix=/usr \
Hans-G?nter@21923 25 --sysconfdir=/etc \
Hans-G?nter@21923 26 --with-nvme-devicescan \
Hans-G?nter@21923 27 $CONFIGURE_ARGS &&
pascal@5007 28 make &&
slaxemulator@11038 29 make DESTDIR=$DESTDIR install
erjo@621 30 }
erjo@621 31
erjo@621 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 33 genpkg_rules()
erjo@621 34 {
Hans-G?nter@21923 35 mkdir -p $fs/usr
Hans-G?nter@21923 36 mkdir -p $fs/etc/init.d
Hans-G?nter@21923 37
Hans-G?nter@21923 38 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21923 39 cp $install/etc/smartd.conf $fs/etc/smartd.conf
Hans-G?nter@21923 40 install -g root -o root -m 755 \
Hans-G?nter@21923 41 $stuff/etc/init.d/smartd $fs/etc/init.d
erjo@621 42 }