wok-next annotate watchdog/receipt @ rev 21033
Fix some homepages: follow HTTP redirections.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Nov 04 11:22:16 2018 +0200 (2018-11-04) |
parents | d5aab818505e |
children | 5771cee9ebb6 |
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" |
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@21020 | 14 compile_rules() { |
al@21020 | 15 ./configure \ |
al@21020 | 16 --prefix=/usr \ |
al@21020 | 17 --infodir=/usr/share/info \ |
al@21020 | 18 --mandir=/usr/share/man \ |
al@21020 | 19 $CONFIGURE_ARGS && |
pascal@6897 | 20 make && |
al@21020 | 21 make DESTDIR=$install install |
pascal@6897 | 22 } |
pascal@6897 | 23 |
al@21020 | 24 genpkg_rules() { |
pascal@6897 | 25 mkdir -p $fs/usr |
pascal@15363 | 26 cp -a $install/etc $fs |
pascal@15363 | 27 cp -a $install/usr/sbin $fs/usr |
pascal@6897 | 28 } |
pascal@6898 | 29 |
al@21020 | 30 post_install() { |
pascal@18730 | 31 [ -c "$1/dev/watchdog" ] || mknod -m 660 "$1/dev/watchdog" c 10 130 |
pascal@6898 | 32 } |