# HG changeset patch # User Hans-G?nter Theisgen # Date 1572774594 -3600 # Node ID ed588ff646ba53fd939e0ded737416d8bf7a2f3e # Parent c8fec2a962c154f3527c00b2d18aa68bc7ecf0a6 updated watchdog (5.9 -> 5.15) diff -r c8fec2a962c1 -r ed588ff646ba watchdog/receipt --- a/watchdog/receipt Sun Nov 03 10:17:18 2019 +0100 +++ b/watchdog/receipt Sun Nov 03 10:49:54 2019 +0100 @@ -1,23 +1,24 @@ # SliTaz package receipt. PACKAGE="watchdog" -VERSION="5.9" +VERSION="5.15" CATEGORY="system-tools" SHORT_DESC="Software watchdog for Linux." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" +WEB_SITE="https://sourceforge.net/projects/watchdog/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://watchdog.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd $src - - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } @@ -26,11 +27,12 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $install/etc $fs - cp -a $install/usr/sbin $fs/usr + + cp -a $install/etc $fs + cp -a $install/usr/sbin $fs/usr } -# Pre and post install commands for Tazpkg. +# Post install commands for Tazpkg. post_install() { [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130