wok-next diff multitail/receipt @ rev 20663

Fix web site for the Shimmer Project themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 22:58:32 2018 +0300 (2018-05-10)
parents 466bca9334ef
children d5aab818505e
line diff
     1.1 --- a/multitail/receipt	Tue Oct 17 10:14:12 2017 +0200
     1.2 +++ b/multitail/receipt	Thu May 10 22:58:32 2018 +0300
     1.3 @@ -1,36 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="multitail"
     1.8  VERSION="5.2.9"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="Monitor multiple log files."
    1.11 +SHORT_DESC="Monitor multiple log files"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.vanheusden.com/multitail/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 -WEB_SITE="http://www.vanheusden.com/multitail/"
    1.18  WGET_URL="http://www.vanheusden.com/multitail/$TARBALL"
    1.19 -CONFIG_FILES="/etc/multitail.conf"
    1.20  
    1.21 -DEPENDS="ncurses"
    1.22  BUILD_DEPENDS="ncurses-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	if [ ! -f done.tail_busybox.patch ]; then
    1.28 -		patch -p1 -i $stuff/tail_busybox.patch &&  \
    1.29 -			touch done.tail_busybox.patch
    1.30 -	fi
    1.31 -	make
    1.32 +compile_rules() {
    1.33 +	make || return 1
    1.34 +	install -Dm 755 $src/multitail      $install/usr/bin/multitail
    1.35 +	install -Dm 644 $src/multitail.conf $install/etc/multitail.conf
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/bin $fs/etc
    1.42 -	cp -a $src/$PACKAGE  $fs/usr/bin
    1.43 -	cp -a $src/$PACKAGE.conf $fs/etc
    1.44 -	
    1.45 +genpkg_rules() {
    1.46 +	copy @std
    1.47  	# Set minimum config.
    1.48  	sed -i 's/check_mail:5/check_mail:0/' $fs/etc/multitail.conf
    1.49 +	DEPENDS="ncurses"
    1.50 +	CONFIG_FILES="/etc/multitail.conf"
    1.51  }