wok annotate libpcap/receipt @ rev 23557
updated python-scapy (2.4.2 -> 2.4.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 07:32:04 2020 +0100 (2020-04-07) |
parents | c3ad9b49925b |
children | ede1d184d5c5 |
rev | line source |
---|---|
pankso@117 | 1 # SliTaz package receipt. |
pankso@117 | 2 |
pankso@117 | 3 PACKAGE="libpcap" |
Hans-G?nter@23093 | 4 VERSION="1.9.1" |
pankso@200 | 5 CATEGORY="development" |
Hans-G?nter@23093 | 6 SHORT_DESC="Library for tcpdump." |
pascal@1065 | 7 MAINTAINER="sdaigl@lacitec.on.ca" |
pascal@15323 | 8 LICENSE="BSD" |
Hans-G?nter@23093 | 9 WEB_SITE="https://www.tcpdump.org/" |
Hans-G?nter@23093 | 10 |
pankso@117 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@117 | 12 WGET_URL="http://www.tcpdump.org/release/$TARBALL"; |
pankso@117 | 13 |
pascal@15323 | 14 DEPENDS="libnl" |
Hans-G?nter@23093 | 15 BUILD_DEPENDS="flex bison libnl-dev" |
Hans-G?nter@23093 | 16 |
Hans-G?nter@23093 | 17 HOST_ARCH="i486 arm" |
pascal@15323 | 18 |
pankso@16042 | 19 # Handle cross compilation |
pankso@16042 | 20 case "$ARCH" in |
pankso@16042 | 21 arm) |
pankso@16042 | 22 BUILD_DEPENDS="" |
pankso@16042 | 23 ARCH_ARGS="--with-pcap=linux" |
pankso@16042 | 24 export ac_cv_linux_vers=2 ;; |
pankso@16042 | 25 esac |
pankso@16042 | 26 |
pankso@117 | 27 # Rules to configure and make the package. |
pankso@117 | 28 compile_rules() |
pankso@117 | 29 { |
Hans-G?nter@23093 | 30 ./configure \ |
Hans-G?nter@23093 | 31 $CONFIGURE_ARGS \ |
Hans-G?nter@23093 | 32 $ARCH_ARGS && |
Hans-G?nter@23093 | 33 make && |
Hans-G?nter@23093 | 34 make install |
pankso@117 | 35 } |
pankso@117 | 36 |
pankso@117 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@117 | 38 genpkg_rules() |
pankso@117 | 39 { |
slaxemulator@7170 | 40 mkdir -p $fs/usr/lib |
Hans-G?nter@23093 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@117 | 42 } |
pankso@117 | 43 |