wok-next view libpcap/receipt @ rev 16042

Add to ARM: sqlite ptunnel libpcap gdbm gc
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 16:31:15 2014 +0100 (2014-03-09)
parents eda93f9881c4
children c3ad9b49925b
line source
1 # SliTaz package receipt.
3 PACKAGE="libpcap"
4 VERSION="1.4.0"
5 CATEGORY="development"
6 SHORT_DESC="library for tcpdump"
7 MAINTAINER="sdaigl@lacitec.on.ca"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.tcpdump.org/"
11 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
12 HOST_ARCH="i468 arm"
14 DEPENDS="libnl"
15 BUILD_DEPENDS="flex bison"
17 # Handle cross compilation
18 case "$ARCH" in
19 arm)
20 BUILD_DEPENDS=""
21 ARCH_ARGS="--with-pcap=linux"
22 export ac_cv_linux_vers=2 ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS $ARCH_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }