wok view libpcap/receipt @ rev 18076

djview: update depends
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu May 21 21:27:27 2015 +0200 (2015-05-21)
parents e4cda1000ec7
children 3601f83e0645
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="i486 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 }