wok rev 21269

updated liboping and liboping-dev (1.9.0 -> 1.10.0)
author Hans-G?nter Theisgen
date Fri Apr 12 15:48:18 2019 +0100 (2019-04-12)
parents 0dc12582ee9f
children a74c70f5faaa
files liboping-dev/receipt liboping/receipt
line diff
     1.1 --- a/liboping-dev/receipt	Fri Apr 12 15:37:23 2019 +0100
     1.2 +++ b/liboping-dev/receipt	Fri Apr 12 15:48:18 2019 +0100
     1.3 @@ -1,23 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="liboping-dev"
     1.7 -VERSION="1.9.0"
     1.8 +VERSION="1.10.0"
     1.9  CATEGORY="development"
    1.10  MAINTAINER="paul@slitaz.org"
    1.11  LICENSE="LGPL2.1"
    1.12 -SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel development files."
    1.13 -WEB_SITE="http://noping.cc/"
    1.14 +SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel - development files."
    1.15 +WEB_SITE="https://noping.cc/"
    1.16 +
    1.17  WANTED="liboping"
    1.18 -
    1.19  DEPENDS="liboping pkg-config"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/include $fs/usr
    1.26 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.28 -	cp -a $install/usr/lib/perl* $fs/usr/lib
    1.29 +
    1.30 +	cp -a $install/usr/include		$fs/usr
    1.31 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.32 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.33 +	cp -a $install/usr/lib/perl*		$fs/usr/lib
    1.34  } 
    1.35 -
     2.1 --- a/liboping/receipt	Fri Apr 12 15:37:23 2019 +0100
     2.2 +++ b/liboping/receipt	Fri Apr 12 15:48:18 2019 +0100
     2.3 @@ -1,26 +1,28 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="liboping"
     2.7 -VERSION="1.9.0"
     2.8 +VERSION="1.10.0"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel."
    2.11  MAINTAINER="paul@slitaz.org"
    2.12  LICENSE="LGPL2.1"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 -WEB_SITE="http://noping.cc/"
    2.15 -WGET_URL="http://noping.cc/files/$TARBALL"
    2.16 +WEB_SITE="https://noping.cc/"
    2.17  
    2.18 -DEPENDS="ncurses libcap"
    2.19 -BUILD_DEPENDS="ncurses-dev perl libcap-dev"
    2.20 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.21 +WGET_URL="https://noping.cc/files/$TARBALL"
    2.22 +
    2.23 +DEPENDS="libcap ncurses"
    2.24 +BUILD_DEPENDS="libcap-dev ncurses-dev perl"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29  	export LDFLAGS="$LDFLAGS -lrt"	# for clock_gettime
    2.30 -	./configure \
    2.31 -		--prefix=/usr \
    2.32 +
    2.33 +	./configure		\
    2.34 +		--prefix=/usr	\
    2.35  		$CONFIGURE_ARGS &&
    2.36 -	make &&
    2.37 +	make -j 1 &&
    2.38  	make DESTDIR=$DESTDIR install
    2.39  }
    2.40  
    2.41 @@ -28,8 +30,9 @@
    2.42  genpkg_rules()
    2.43  {
    2.44  	mkdir -p $fs/usr/lib
    2.45 -	cp -a $install/usr/bin $fs/usr
    2.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib	
    2.47 +
    2.48 +	cp -a $install/usr/bin		$fs/usr
    2.49 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib	
    2.50  }
    2.51  
    2.52  post_install()
    2.53 @@ -37,4 +40,3 @@
    2.54  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
    2.55  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
    2.56  }
    2.57 -