wok-6.x diff watchdog/receipt @ rev 22349

python-llfuse: s|attr/xattr|sys/xattr|
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 18 10:45:32 2019 +0100 (2019-11-18)
parents 9e01bc6321ea
children c1e7c7ea9c19
line diff
     1.1 --- a/watchdog/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/watchdog/receipt	Mon Nov 18 10:45:32 2019 +0100
     1.3 @@ -1,23 +1,24 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="watchdog"
     1.7 -VERSION="5.9"
     1.8 +VERSION="5.15"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Software watchdog for Linux."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 +WEB_SITE="https://sourceforge.net/projects/watchdog/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://watchdog.sourceforge.net/"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	cd $src
    1.23 -
    1.24 -	./configure --prefix=/usr --infodir=/usr/share/info \
    1.25 -	--mandir=/usr/share/man \
    1.26 -	$CONFIGURE_ARGS &&
    1.27 +	./configure				\
    1.28 +		--prefix=/usr			\
    1.29 +		--infodir=/usr/share/info	\
    1.30 +		--mandir=/usr/share/man		\
    1.31 +		$CONFIGURE_ARGS &&
    1.32  	make &&
    1.33  	make DESTDIR=$DESTDIR install
    1.34  }
    1.35 @@ -26,11 +27,12 @@
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr
    1.39 -	cp -a $install/etc $fs
    1.40 -	cp -a $install/usr/sbin $fs/usr
    1.41 +
    1.42 +	cp -a $install/etc	$fs
    1.43 +	cp -a $install/usr/sbin	$fs/usr
    1.44  }
    1.45  
    1.46 -# Pre and post install commands for Tazpkg.
    1.47 +# Post install commands for Tazpkg.
    1.48  post_install()
    1.49  {
    1.50  	[ -c "$1/dev/watchdog" ] || mknod -m 660  "$1/dev/watchdog" c 10 130