2010-04-12 21:35:11 +00:00
|
|
|
# Template file for 'libpcap'
|
|
|
|
pkgname=libpcap
|
2012-06-26 07:54:37 +00:00
|
|
|
version=1.3.0
|
2013-03-15 09:06:30 +00:00
|
|
|
revision=3
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-13 20:44:37 +00:00
|
|
|
configure_args="--enable-ipv6 --with-libnl --with-pcap=linux"
|
|
|
|
makedepends="automake pkg-config flex libnl3-devel"
|
|
|
|
crossmakedepends="libfl-devel libnl3-devel"
|
2012-06-26 07:54:37 +00:00
|
|
|
subpackages="$pkgname-devel"
|
2010-04-12 21:35:11 +00:00
|
|
|
short_desc="System-independent interface for user-level packet capture"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-06-26 07:54:37 +00:00
|
|
|
homepage="http://www.tcpdump.org/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz"
|
|
|
|
checksum=41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9
|
2010-04-12 21:35:11 +00:00
|
|
|
long_desc="
|
|
|
|
This is libpcap, a system-independent interface for user-level packet
|
|
|
|
capture. libpcap provides a portable framework for low-level network
|
|
|
|
monitoring. Applications include network statistics collection,
|
|
|
|
security monitoring, network debugging, etc. Since almost every
|
|
|
|
system vendor provides a different interface for packet capture, and
|
|
|
|
since we've developed several tools that require this functionality,
|
|
|
|
we've created this system-independent API to ease in porting and to
|
|
|
|
alleviate the need for several system-dependent packet capture modules
|
|
|
|
in each application."
|
|
|
|
|
2013-03-13 20:44:37 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2012-06-26 07:54:37 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall LICENSE 644 usr/share/licenses/$pkgname
|
|
|
|
}
|