wok-next view watchdog/receipt @ rev 12701
Add: cross-arm-gcc (ARM cross compiler) Build will fail with cooker since it must be build with --first-pass the first time :-) A cross-arm-toolchain meta packge will follow
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 03 16:25:12 2012 +0200 (2012-05-03) |
parents | fb1c9ba0da03 |
children | 2a21689b0af7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="watchdog"
4 VERSION="5.9"
5 CATEGORY="system-tools"
6 SHORT_DESC="Software watchdog for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://watchdog.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/etc $fs
29 cp -a $_pkg/usr/sbin $fs/usr
30 }
32 # Pre and post install commands for Tazpkg.
33 post_install()
34 {
35 [ -c $1/dev/watchdog ] || mknod -m 660 $1/dev/watchdog c 10 130
36 }