wok-next view libpcap/receipt @ rev 16359
ARM: add dillo + fixes to fltk
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 21:27:49 2014 +0200 (2014-04-13) |
parents | e4cda1000ec7 |
children | 1a86cb99cbbf |
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 }