aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpcap
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpcap')
-rw-r--r--main/libpcap/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD
index ebe0996161..a4a9f7de79 100644
--- a/main/libpcap/APKBUILD
+++ b/main/libpcap/APKBUILD
@@ -1,11 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpcap
pkgver=1.0.0
-pkgrel=1
+_sover=1.0.0
+pkgrel=2
pkgdesc="A system-independent interface for user-level packet capture"
url="http://www.tcpdump.org/"
license="BSD"
-depends="uclibc"
+depends=
makedepends="bison flex"
source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
$pkgname-1.0.0-LDFLAGS.patch
@@ -25,10 +26,8 @@ build ()
make all shared || return 1
mkdir -p "$pkgdir/usr/bin"
make -j1 DESTDIR="$pkgdir" install install-shared
-
-# mkdir -p ${startdir}/pkg/usr/include/net
-# cd ${startdir}/pkg/usr/include/net
-# ln -s ../pcap-bpf.h bpf.h
+ ln -s libpcap.so.$_sover "$pkgdir"/usr/lib/libpcap.so.1
+ ln -s libpcap.so.$_sover "$pkgdir"/usr/lib/libpcap.so
}
md5sums="9ad1358c5dec48456405eac197a46d3d libpcap-1.0.0.tar.gz
2bf7e986980c6e5d99758ba55b48d706 libpcap-1.0.0-LDFLAGS.patch