wok-next diff squidview/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 466bca9334ef
children
line diff
     1.1 --- a/squidview/receipt	Tue Oct 17 10:14:12 2017 +0200
     1.2 +++ b/squidview/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,31 +1,28 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="squidview"
     1.8  VERSION="0.80"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Monitors and displays squid logs in console."
    1.11 +SHORT_DESC="Monitors and displays squid logs in console"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.rillion.net/squidview/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.rillion.net/squidview/"
    1.18  WGET_URL="$WEB_SITE$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses gcc-lib-base"
    1.21  BUILD_DEPENDS="ncurses-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	./configure --prefix=/usr \
    1.27 +compile_rules() {
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30  		--mandir=/usr/share/man \
    1.31 -	$CONFIGURE_ARGS &&
    1.32 +		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make DESTDIR=$install install
    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
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="ncurses gcc-lib-base"
    1.46  }