wok-6.x annotate libpcap/receipt @ rev 16552

slitaz-i18n: fix lxpanel keyboard icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Apr 29 23:37:11 2014 +0000 (2014-04-29)
parents e4cda1000ec7
children 3601f83e0645
rev   line source
pankso@117 1 # SliTaz package receipt.
pankso@117 2
pankso@117 3 PACKAGE="libpcap"
pascal@15323 4 VERSION="1.4.0"
pankso@200 5 CATEGORY="development"
pankso@117 6 SHORT_DESC="library for tcpdump"
pascal@1065 7 MAINTAINER="sdaigl@lacitec.on.ca"
pascal@15323 8 LICENSE="BSD"
pankso@117 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2086 10 WEB_SITE="http://www.tcpdump.org/"
pankso@117 11 WGET_URL="http://www.tcpdump.org/release/$TARBALL";
pascal@16049 12 HOST_ARCH="i486 arm"
pankso@117 13
pascal@15323 14 DEPENDS="libnl"
pascal@15323 15 BUILD_DEPENDS="flex bison"
pascal@15323 16
pankso@16042 17 # Handle cross compilation
pankso@16042 18 case "$ARCH" in
pankso@16042 19 arm)
pankso@16042 20 BUILD_DEPENDS=""
pankso@16042 21 ARCH_ARGS="--with-pcap=linux"
pankso@16042 22 export ac_cv_linux_vers=2 ;;
pankso@16042 23 esac
pankso@16042 24
pankso@117 25 # Rules to configure and make the package.
pankso@117 26 compile_rules()
pankso@117 27 {
pankso@16042 28 ./configure \
pankso@16042 29 $CONFIGURE_ARGS $ARCH_ARGS &&
pankso@16042 30 make && make install
pankso@117 31 }
pankso@117 32
pankso@117 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@117 34 genpkg_rules()
pankso@117 35 {
slaxemulator@7170 36 mkdir -p $fs/usr/lib
pascal@15323 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@117 38 }
pankso@117 39