wok-next view liboping/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents 90b1229cb733
children f463de72afe3
line source
1 # SliTaz package receipt.
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 DEPENDS="ncurses libcap"
15 BUILD_DEPENDS="ncurses-dev perl libcap-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cook_copy_files oping noping *.so*
29 }
31 post_install()
32 {
33 chroot "$1/" setcap cap_net_raw=ep /usr/bin/oping
34 chroot "$1/" setcap cap_net_raw=ep /usr/bin/noping
35 }