wok diff multitail/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents 17e313b5b9c1
children 241fb98cab1c
line diff
     1.1 --- a/multitail/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/multitail/receipt	Sat Oct 23 15:17:56 2021 +0000
     1.3 @@ -1,19 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="multitail"
     1.7 -VERSION="5.2.9"
     1.8 +VERSION="6.5.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Monitor multiple log files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="https://www.vanheusden.com/multitail/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tgz"
    1.16 -WEB_SITE="http://www.vanheusden.com/multitail/"
    1.17 -WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}$TARBALL"
    1.19 +
    1.20 +DEPENDS="ncursesw"
    1.21 +BUILD_DEPENDS="ncursesw-dev"
    1.22 +
    1.23  CONFIG_FILES="/etc/multitail.conf"
    1.24  
    1.25 -DEPENDS="ncurses"
    1.26 -BUILD_DEPENDS="ncurses-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 @@ -22,16 +24,19 @@
    1.32  		patch -p1 -i $stuff/tail_busybox.patch &&  \
    1.33  			touch done.tail_busybox.patch
    1.34  	fi
    1.35 +	patch --strip=0 --input=$stuff/patches/mt.h-6.5.0
    1.36  	make
    1.37  }
    1.38  
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/bin $fs/etc
    1.43 -	cp -a $src/$PACKAGE  $fs/usr/bin
    1.44 -	cp -a $src/$PACKAGE.conf $fs/etc
    1.45 +	mkdir -p $fs/usr/bin
    1.46 +	mkdir -p $fs/etc
    1.47 +	cp -a $src/$PACKAGE		$fs/usr/bin
    1.48 +	cp -a $src/$PACKAGE.conf	$fs/etc
    1.49  	
    1.50 -	# Set minimum config.
    1.51 -	sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
    1.52 +	# Set minimum configuration.
    1.53 +	sed -i 's/check_mail:5/check_mail:0/' \
    1.54 +					$fs/etc/multitail.conf
    1.55  }