wok diff liboping/receipt @ rev 24365

created recipe for rubberband-2.0.2
author Hans-G?nter Theisgen
date Fri Feb 04 17:35:01 2022 +0100 (2022-02-04)
parents 828da114adaa
children ede1d184d5c5
line diff
     1.1 --- a/liboping/receipt	Sun Apr 30 17:53:19 2017 +0200
     1.2 +++ b/liboping/receipt	Fri Feb 04 17:35:01 2022 +0100
     1.3 @@ -1,26 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="liboping"
     1.7 -VERSION="1.9.0"
     1.8 +VERSION="1.10.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel."
    1.11  MAINTAINER="paul@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://noping.cc/"
    1.15 -WGET_URL="http://noping.cc/files/$TARBALL"
    1.16 +WEB_SITE="https://noping.cc/"
    1.17  
    1.18 -DEPENDS="ncurses libcap"
    1.19 -BUILD_DEPENDS="ncurses-dev perl libcap-dev"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.21 +WGET_URL="https://noping.cc/files/$TARBALL"
    1.22 +
    1.23 +DEPENDS="libcap ncurses"
    1.24 +BUILD_DEPENDS="libcap-dev ncurses-dev perl"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	export LDFLAGS="$LDFLAGS -lrt"	# for clock_gettime
    1.30 -	./configure \
    1.31 -		--prefix=/usr \
    1.32 +
    1.33 +	./configure		\
    1.34 +		--prefix=/usr	\
    1.35  		$CONFIGURE_ARGS &&
    1.36 -	make &&
    1.37 +	make -j 1 &&
    1.38  	make DESTDIR=$DESTDIR install
    1.39  }
    1.40  
    1.41 @@ -28,8 +30,9 @@
    1.42  genpkg_rules()
    1.43  {
    1.44  	mkdir -p $fs/usr/lib
    1.45 -	cp -a $install/usr/bin $fs/usr
    1.46 -	cp -a $install/usr/lib/*.so* $fs/usr/lib	
    1.47 +
    1.48 +	cp -a $install/usr/bin		$fs/usr
    1.49 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib	
    1.50  }
    1.51  
    1.52  post_install()
    1.53 @@ -37,4 +40,3 @@
    1.54  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
    1.55  	chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
    1.56  }
    1.57 -