wok-current annotate libpcap/receipt @ rev 19138
Add x265
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 18 16:28:27 2016 +0200 (2016-05-18) |
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 |