wok-next view liboping/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | 5841522533ec |
children |
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="https://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="$PACKAGE-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make DESTDIR=$install 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 }