wok-next view libpcap/receipt @ rev 20956

Random updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Sep 05 00:08:37 2018 +0300 (2018-09-05)
parents 1eb4aacb48ed
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpcap"
4 VERSION="1.9.0"
5 CATEGORY="libdevel"
6 SHORT_DESC="Functions for user-level packet capture, used in low-level network \
7 monitoring"
8 MAINTAINER="sdaigl@lacitec.on.ca"
9 LICENSE="BSD"
10 WEB_SITE="http://www.tcpdump.org/"
11 LFS="http://www.linuxfromscratch.org/blfs/view/svn/basicnet/libpcap.html"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
16 BUILD_DEPENDS="flex bison libnl-dev"
17 SPLIT="libpcap-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 make || return 1
23 # disable static
24 sed -i '/INSTALL_DATA.*libpcap.a\|RANLIB.*libpcap.a/ s/^/#/' Makefile
26 make install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 libpcap)
32 copy @std
33 DEPENDS="libnl"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="libnl-dev"
38 ;;
39 esac
40 }