wok-next view libpcap/receipt @ rev 19990
lighttpd: add missing SPLIT
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 20 08:05:51 2017 +0200 (2017-10-20) |
parents | 1a86cb99cbbf |
children | c4e53a39395a |
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 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="http://www.tcpdump.org/release/$TARBALL"
16 BUILD_DEPENDS="flex bison libnl-dev"
17 BUILD_DEPENDS_arm=" "
18 SPLIT="libpcap-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm)
23 ARCH_ARGS="--with-pcap=linux"
24 export ac_cv_linux_vers=2
25 ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 $CONFIGURE_ARGS $ARCH_ARGS &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 libpcap) copy @std; DEPENDS="libnl";;
41 *-dev) copy @dev;;
42 esac
43 }