wok-next diff watchdog/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 9e01bc6321ea |
children | 0c430fcaf2d9 |
line diff
1.1 --- a/watchdog/receipt Sun Dec 20 15:13:45 2015 +0100 1.2 +++ b/watchdog/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -3,35 +3,29 @@ 1.4 PACKAGE="watchdog" 1.5 VERSION="5.9" 1.6 CATEGORY="system-tools" 1.7 -SHORT_DESC="Software watchdog for Linux." 1.8 +SHORT_DESC="Software watchdog for Linux" 1.9 MAINTAINER="pascal.bellard@slitaz.org" 1.10 LICENSE="GPL" 1.11 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 WEB_SITE="http://watchdog.sourceforge.net/" 1.13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 - cd $src 1.19 - 1.20 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.21 - --mandir=/usr/share/man \ 1.22 - $CONFIGURE_ARGS && 1.23 +compile_rules() { 1.24 + ./configure \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + $CONFIGURE_ARGS && 1.29 make && 1.30 - make DESTDIR=$DESTDIR install 1.31 + make DESTDIR=$install install 1.32 } 1.33 1.34 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 -genpkg_rules() 1.36 -{ 1.37 +genpkg_rules() { 1.38 mkdir -p $fs/usr 1.39 cp -a $install/etc $fs 1.40 cp -a $install/usr/sbin $fs/usr 1.41 } 1.42 1.43 -# Pre and post install commands for Tazpkg. 1.44 -post_install() 1.45 -{ 1.46 +post_install() { 1.47 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130 1.48 }