wok annotate watchdog/receipt @ rev 22435

john 1.8.0 -> 1.9.0
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 22 15:38:26 2019 +0000 (2019-12-22)
parents 9e01bc6321ea
children c1e7c7ea9c19
rev   line source
pascal@6897 1 # SliTaz package receipt.
pascal@6897 2
pascal@6897 3 PACKAGE="watchdog"
Hans-G?nter@22119 4 VERSION="5.15"
pascal@6897 5 CATEGORY="system-tools"
pascal@6897 6 SHORT_DESC="Software watchdog for Linux."
pascal@6897 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15363 8 LICENSE="GPL"
Hans-G?nter@22119 9 WEB_SITE="https://sourceforge.net/projects/watchdog/"
Hans-G?nter@22119 10
pascal@6897 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@6897 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@6897 13
pascal@6897 14 # Rules to configure and make the package.
pascal@6897 15 compile_rules()
pascal@6897 16 {
Hans-G?nter@22119 17 ./configure \
Hans-G?nter@22119 18 --prefix=/usr \
Hans-G?nter@22119 19 --infodir=/usr/share/info \
Hans-G?nter@22119 20 --mandir=/usr/share/man \
Hans-G?nter@22119 21 $CONFIGURE_ARGS &&
pascal@6897 22 make &&
pascal@15363 23 make DESTDIR=$DESTDIR install
pascal@6897 24 }
pascal@6897 25
pascal@6897 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6897 27 genpkg_rules()
pascal@6897 28 {
pascal@6897 29 mkdir -p $fs/usr
Hans-G?nter@22119 30
Hans-G?nter@22119 31 cp -a $install/etc $fs
Hans-G?nter@22119 32 cp -a $install/usr/sbin $fs/usr
pascal@6897 33 }
pascal@6898 34
Hans-G?nter@22119 35 # Post install commands for Tazpkg.
pascal@6898 36 post_install()
pascal@6898 37 {
pascal@18730 38 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130
pascal@6898 39 }