wok-4.x annotate watchdog/receipt @ rev 9731

linux: Fix 1. copying aufs files
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:54:20 2011 +0200 (2011-05-09)
parents fb1c9ba0da03
children
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@6897 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@6897 9 WEB_SITE="http://watchdog.sourceforge.net/"
pascal@6897 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@6897 11
pascal@6897 12 # Rules to configure and make the package.
pascal@6897 13 compile_rules()
pascal@6897 14 {
pascal@6897 15 cd $src
pascal@6897 16
pascal@6897 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6897 18 --mandir=/usr/share/man \
pascal@6897 19 $CONFIGURE_ARGS &&
pascal@6897 20 make &&
pascal@6897 21 make DESTDIR=$PWD/_pkg install
pascal@6897 22 }
pascal@6897 23
pascal@6897 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@6897 25 genpkg_rules()
pascal@6897 26 {
pascal@6897 27 mkdir -p $fs/usr
pascal@6897 28 cp -a $_pkg/etc $fs
pascal@6897 29 cp -a $_pkg/usr/sbin $fs/usr
pascal@6897 30 }
pascal@6898 31
pascal@6898 32 # Pre and post install commands for Tazpkg.
pascal@6898 33 post_install()
pascal@6898 34 {
pascal@6898 35 [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130
pascal@6898 36 }