wok-current annotate watchdog/receipt @ rev 7538
Up: gnutils to 2.10.4.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Dec 07 07:27:38 2010 +0000 (2010-12-07) |
parents | fb1c9ba0da03 |
children | 2a21689b0af7 |
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 } |