wok-next diff libpcap/receipt @ rev 19890

iptstate, tint2, waterline-plugin-multiload: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 11 15:11:57 2017 +0200 (2017-10-11)
parents 1a86cb99cbbf
children c4e53a39395a
line diff
     1.1 --- a/libpcap/receipt	Thu May 11 02:23:02 2017 +0300
     1.2 +++ b/libpcap/receipt	Wed Oct 11 15:11:57 2017 +0200
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="libpcap"
     1.8 -VERSION="1.7.4"
     1.9 +VERSION="1.8.1"
    1.10  CATEGORY="libdevel"
    1.11 -SHORT_DESC="functions for user-level packet capture, used in low-level network \
    1.12 +SHORT_DESC="Functions for user-level packet capture, used in low-level network \
    1.13  monitoring"
    1.14  MAINTAINER="sdaigl@lacitec.on.ca"
    1.15  LICENSE="BSD"
    1.16 @@ -13,14 +13,13 @@
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="http://www.tcpdump.org/release/$TARBALL"
    1.19  
    1.20 -DEPENDS="libnl"
    1.21 -BUILD_DEPENDS="flex bison"
    1.22 -BUILD_DEPENDS_arm=""
    1.23 +BUILD_DEPENDS="flex bison libnl-dev"
    1.24 +BUILD_DEPENDS_arm=" "
    1.25 +SPLIT="libpcap-dev"
    1.26  
    1.27  # Handle cross compilation
    1.28  case "$ARCH" in
    1.29  	arm)
    1.30 -		BUILD_DEPENDS="$BUILD_DEPENDS_arm"
    1.31  		ARCH_ARGS="--with-pcap=linux"
    1.32  		export ac_cv_linux_vers=2
    1.33  		;;
    1.34 @@ -37,5 +36,8 @@
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	copy @std
    1.39 +	case $PACKAGE in
    1.40 +		libpcap) copy @std; DEPENDS="libnl";;
    1.41 +		*-dev) copy @dev;;
    1.42 +	esac
    1.43  }