wok-current view libpcap/receipt @ rev 24087
Up tazlito (531)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 11:04:20 2021 +0000 (2021-07-11) |
parents | c3ad9b49925b |
children | ede1d184d5c5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpcap"
4 VERSION="1.9.1"
5 CATEGORY="development"
6 SHORT_DESC="Library for tcpdump."
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 LICENSE="BSD"
9 WEB_SITE="https://www.tcpdump.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
14 DEPENDS="libnl"
15 BUILD_DEPENDS="flex bison libnl-dev"
17 HOST_ARCH="i486 arm"
19 # Handle cross compilation
20 case "$ARCH" in
21 arm)
22 BUILD_DEPENDS=""
23 ARCH_ARGS="--with-pcap=linux"
24 export ac_cv_linux_vers=2 ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 $CONFIGURE_ARGS \
32 $ARCH_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }