wok annotate watchdog/receipt @ rev 16638

libvalhalla-dev: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 12 10:29:35 2014 +0000 (2014-05-12)
parents c576fbb79591
children 9e01bc6321ea
rev   line source
pascal@6897 1 # SliTaz package receipt.
pascal@6897 2
pascal@6897 3 PACKAGE="watchdog"
pascal@6897 4 VERSION="5.9"
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"
pascal@6897 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@6897 10 WEB_SITE="http://watchdog.sourceforge.net/"
pascal@6897 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@6897 12
pascal@6897 13 # Rules to configure and make the package.
pascal@6897 14 compile_rules()
pascal@6897 15 {
pascal@6897 16 cd $src
pascal@6897 17
pascal@6897 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6897 19 --mandir=/usr/share/man \
pascal@6897 20 $CONFIGURE_ARGS &&
pascal@6897 21 make &&
pascal@15363 22 make DESTDIR=$DESTDIR install
pascal@6897 23 }
pascal@6897 24
pascal@6897 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6897 26 genpkg_rules()
pascal@6897 27 {
pascal@6897 28 mkdir -p $fs/usr
pascal@15363 29 cp -a $install/etc $fs
pascal@15363 30 cp -a $install/usr/sbin $fs/usr
pascal@6897 31 }
pascal@6898 32
pascal@6898 33 # Pre and post install commands for Tazpkg.
pascal@6898 34 post_install()
pascal@6898 35 {
pascal@6898 36 [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130
pascal@6898 37 }