wok-next view libpcap/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | c4e53a39395a |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpcap"
4 VERSION="1.8.1"
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/stable/basicnet/libpcap.html"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
16 BUILD_DEPENDS_arm=" "
17 BUILD_DEPENDS="flex bison libnl-dev"
18 SPLIT="libpcap-dev"
20 compile_rules() {
21 case "$ARCH" in
22 arm)
23 ARCH_ARGS="--with-pcap=linux"
24 export ac_cv_linux_vers=2
25 ;;
26 esac
28 ./configure \
29 $CONFIGURE_ARGS $ARCH_ARGS &&
30 make && make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libpcap)
36 copy @std
37 DEPENDS="libnl"
38 ;;
39 *-dev) copy @dev;;
40 esac
41 }