blob: f1c3cd9d77384a5b3e8e57f30a7a09e4036b382b (
plain) (
tree)
|
|
# Maintainer:
pkgname=libpcap
pkgver=1.9.0
pkgrel=0
pkgdesc="System-independent interface for user-level packet capture"
url="http://www.tcpdump.org/"
arch="all"
options="!check"
license="BSD-3-Clause"
depends=""
makedepends="autoconf bison bluez-dev flex linux-headers"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
add-missing-header.patch
"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-ipv6
# seems to be problem with timestamps
sleep 1
./config.status
make all shared
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install install-shared
}
sha512sums="0ff25641f1e9d29082766caef45888c19214f770c4f378818caa73fcbc4ae54ad9195549c2499d4879ff46e35741d93b2b02cc5f3d6aa99e85a32194cf10bfe7 libpcap-1.9.0.tar.gz
d9bee430f26e647c4a7ddd5b1ddd588fadefd3a034710e9bdfa9ff1d8c18ad8f6c0be1c29c2261e7be89db7d7e545e30c7910f09f3f53701ce04421449328be2 add-missing-header.patch"
|