wok view libpcap/receipt @ rev 22505
updated asterisk-sound (1.4.16 -> 1.6.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jan 01 13:32:13 2020 +0100 (2020-01-01) |
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 }