wok-next view liboping/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 9e5dca6702bf |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liboping"
4 VERSION="1.9.0"
5 CATEGORY="network"
6 SHORT_DESC="Library to ping IPv4 and IPv6 hosts in parallel"
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://noping.cc/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://noping.cc/files/$TARBALL"
14 BUILD_DEPENDS="ncurses-dev perl-dev libcap-dev"
15 SPLIT="liboping-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 liboping)
27 copy @std
28 DEPENDS="ncurses libcap"
29 ;;
30 *-dev)
31 copy @dev
32 ;;
33 esac
34 }
36 post_install_liboping() {
37 chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
38 chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
39 }