aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpcap
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-02 09:47:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-02 09:47:04 +0000
commit08892a5f61ed0a9f77130d13c9396b05ab5791f8 (patch)
treed072e941a0c2a057e90afb49a5726d259fcb45ed /main/libpcap
parent61be22bdd52ac77d2201029214fe47243bf3f184 (diff)
downloadaports-08892a5f61ed0a9f77130d13c9396b05ab5791f8.tar.bz2
aports-08892a5f61ed0a9f77130d13c9396b05ab5791f8.tar.xz
main/libpcap: create libpcap.so symlink
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