wok-next diff pktstat/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 a3c581bf52b8
children
line diff
     1.1 --- a/pktstat/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/pktstat/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,32 +1,25 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pktstat"
     1.8  VERSION="1.8.5"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="Real-time interface traffic viewer for ncurses."
    1.11 +SHORT_DESC="Real-time interface traffic viewer for ncurses"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="PublicDomain"
    1.14 +WEB_SITE="https://github.com/dleonard0/pktstat"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://github.com/dleonard0/pktstat"
    1.18 -WGET_URL="http://www.adaptive-enterprises.com.au/~d/software/pktstat/$TARBALL" # FIXME
    1.19 +WGET_URL="https://github.com/dleonard0/pktstat/archive/v$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="ncurses libpcap"
    1.22  BUILD_DEPENDS="ncurses-dev libpcap-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    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 && make DESTDIR=$DESTDIR install
    1.33 +compile_rules() {
    1.34 +	./configure $CONFIGURE_ARGS &&
    1.35 +	make &&
    1.36 +	make DESTDIR=$install install
    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
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="ncurses libpcap"
    1.47  }