wok-next rev 19606

Up liboping (1.9.0)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 30 23:51:27 2017 +0200 (2017-01-30)
parents 1b1490b81f6b
children 35a20e111081
files liboping-dev/receipt liboping/description.txt liboping/receipt
line diff
     1.1 --- a/liboping-dev/receipt	Sat Jan 28 16:18:25 2017 +0200
     1.2 +++ b/liboping-dev/receipt	Mon Jan 30 23:51:27 2017 +0200
     1.3 @@ -1,23 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="liboping-dev"
     1.7 -VERSION="1.8.0"
     1.8 +VERSION="1.9.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 +SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel (development files)"
    1.14  WEB_SITE="http://noping.cc/"
    1.15 +
    1.16  WANTED="liboping"
    1.17 -
    1.18  DEPENDS="liboping"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23 -	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 -	cp -a $install/usr/lib/perl* $fs/usr/lib
    1.28 -} 
    1.29 -
    1.30 +	cook_copy_folders perl5
    1.31 +	cook_copy_files *.h *.a *.la *.pc
    1.32 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/liboping/description.txt	Mon Jan 30 23:51:27 2017 +0200
     2.3 @@ -0,0 +1,17 @@
     2.4 +liboping – Library to ping IPv4 and IPv6 hosts in parallel
     2.5 +
     2.6 +liboping was inspired by ping, libping and fping: It differs from these
     2.7 +existing solutions in that it can “ping” multiple hosts in parallel using IPv4
     2.8 +or IPv6 transparently. Other design principles were an object oriented
     2.9 +interface, simplicity and extensibility.
    2.10 +
    2.11 +On top of liboping two command line applications have been built. “oping” is a
    2.12 +drop-in replacement for ping(1) with very similar output. “noping” is an
    2.13 +ncurses-based application which displays statistics while pinging and
    2.14 +highlights aberrant round-trip times.
    2.15 +
    2.16 +Features
    2.17 +
    2.18 +  * Support for multiple hosts.
    2.19 +  * Support for IPv4 and IPv6.
    2.20 +  * Object oriented interface.
     3.1 --- a/liboping/receipt	Sat Jan 28 16:18:25 2017 +0200
     3.2 +++ b/liboping/receipt	Mon Jan 30 23:51:27 2017 +0200
     3.3 @@ -1,13 +1,14 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="liboping"
     3.7 -VERSION="1.8.0"
     3.8 +VERSION="1.9.0"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel."
    3.11  MAINTAINER="paul@slitaz.org"
    3.12  LICENSE="LGPL2.1"
    3.13 +WEB_SITE="http://noping.cc/"
    3.14 +
    3.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.16 -WEB_SITE="http://noping.cc/"
    3.17  WGET_URL="http://noping.cc/files/$TARBALL"
    3.18  
    3.19  DEPENDS="ncurses libcap"
    3.20 @@ -16,9 +17,7 @@
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24 -	./configure \
    3.25 -		--prefix=/usr \
    3.26 -		$CONFIGURE_ARGS &&
    3.27 +	./configure $CONFIGURE_ARGS &&
    3.28  	make &&
    3.29  	make DESTDIR=$DESTDIR install
    3.30  }
    3.31 @@ -26,9 +25,7 @@
    3.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.33  genpkg_rules()
    3.34  {
    3.35 -	mkdir -p $fs/usr/lib
    3.36 -	cp -a $install/usr/bin $fs/usr
    3.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib	
    3.38 +	cook_copy_files oping noping *.so*
    3.39  }
    3.40  
    3.41  post_install()
    3.42 @@ -36,4 +33,3 @@
    3.43  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
    3.44  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
    3.45  }
    3.46 -