wok-next view liboping/receipt @ rev 19641
Add libpng12; up libpng & apng tools.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 15 18:52:32 2017 +0200 (2017-02-15) |
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 }