wok-next diff liboping/receipt @ rev 19618
memtest: update for GCC5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 06 18:15:00 2017 +0100 (2017-02-06) |
parents | 90b1229cb733 |
children | f463de72afe3 |
line diff
1.1 --- a/liboping/receipt Sat Nov 19 09:14:20 2016 +0000 1.2 +++ b/liboping/receipt Mon Feb 06 18:15:00 2017 +0100 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="liboping" 1.7 -VERSION="1.8.0" 1.8 +VERSION="1.9.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 +WEB_SITE="http://noping.cc/" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://noping.cc/" 1.17 WGET_URL="http://noping.cc/files/$TARBALL" 1.18 1.19 DEPENDS="ncurses libcap" 1.20 @@ -16,9 +17,7 @@ 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - $CONFIGURE_ARGS && 1.27 + ./configure $CONFIGURE_ARGS && 1.28 make && 1.29 make DESTDIR=$DESTDIR install 1.30 } 1.31 @@ -26,9 +25,7 @@ 1.32 # Rules to gen a SliTaz package suitable for Tazpkg. 1.33 genpkg_rules() 1.34 { 1.35 - mkdir -p $fs/usr/lib 1.36 - cp -a $install/usr/bin $fs/usr 1.37 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.38 + cook_copy_files oping noping *.so* 1.39 } 1.40 1.41 post_install() 1.42 @@ -36,4 +33,3 @@ 1.43 chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping 1.44 chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping 1.45 } 1.46 -