wok-next annotate watchdog/receipt @ rev 21357
updated gimp (2.10.14 -> 2.10.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 11 13:55:06 2020 +0100 (2020-04-11) |
parents | 0c430fcaf2d9 |
children |
rev | line source |
---|---|
pascal@6897 | 1 # SliTaz package receipt. |
pascal@6897 | 2 |
pascal@6897 | 3 PACKAGE="watchdog" |
al@21034 | 4 VERSION="5.15" |
pascal@6897 | 5 CATEGORY="system-tools" |
al@21020 | 6 SHORT_DESC="Software watchdog for Linux" |
pascal@6897 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15363 | 8 LICENSE="GPL" |
al@21033 | 9 WEB_SITE="https://sourceforge.net/projects/watchdog/" |
al@21033 | 10 |
pascal@6897 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@6897 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@6897 | 13 |
al@21034 | 14 BUILD_DEPENDS="libtirpc-dev" |
al@21034 | 15 |
al@21020 | 16 compile_rules() { |
al@21034 | 17 sed -i '/^#watchdog-device/ s|#||' watchdog.conf |
al@21034 | 18 |
al@21034 | 19 export CPPFLAGS="$CPPFLAGS -I/usr/include/tirpc/" |
al@21034 | 20 export LDFLAGS="$LDFLAGS -ltirpc" |
al@21034 | 21 |
al@21020 | 22 ./configure \ |
al@21034 | 23 --disable-nfs \ |
al@21020 | 24 $CONFIGURE_ARGS && |
pascal@6897 | 25 make && |
al@21034 | 26 make install |
pascal@6897 | 27 } |
pascal@6897 | 28 |
al@21020 | 29 genpkg_rules() { |
al@21034 | 30 copy @std |
al@21034 | 31 DEPENDS="" |
al@21034 | 32 CONFIG_FILES="/etc/watchdog.conf" |
pascal@6897 | 33 } |
pascal@6898 | 34 |
al@21020 | 35 post_install() { |
pascal@18730 | 36 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130 |
pascal@6898 | 37 } |