aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpcap/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-15 10:12:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-15 10:12:15 +0000
commit8358684aed8c6ca98167a9157b5b9d63b46b820b (patch)
tree31f340c31b9d152800434ef577d66a502e584737 /main/libpcap/APKBUILD
parent5db56c5714c0dee99c93bd26d51156bcaf858e1e (diff)
downloadaports-8358684aed8c6ca98167a9157b5b9d63b46b820b.tar.bz2
aports-8358684aed8c6ca98167a9157b5b9d63b46b820b.tar.xz
main/libpcap: move .so to -dev package
ref #384
Diffstat (limited to 'main/libpcap/APKBUILD')
-rw-r--r--main/libpcap/APKBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/main/libpcap/APKBUILD b/main/libpcap/APKBUILD
index 4fc54bbcbd..9e0e031459 100644
--- a/main/libpcap/APKBUILD
+++ b/main/libpcap/APKBUILD
@@ -2,12 +2,12 @@
pkgname=libpcap
pkgver=1.1.1
_sover=1.0.0
-pkgrel=0
+pkgrel=1
pkgdesc="A system-independent interface for user-level packet capture"
url="http://www.tcpdump.org/"
license="BSD"
depends=
-makedepends="bison flex"
+makedepends="bison flex autoconf"
source="http://www.tcpdump.org/release/$pkgname-$pkgver.tar.gz
"
subpackages="$pkgname-doc $pkgname-dev"
@@ -24,7 +24,10 @@ prepare() {
build() {
cd "$_builddir"
- ./configure --prefix=/usr --enable-ipv6
+ ./configure --prefix=/usr --enable-ipv6 || return 1
+ # seems to be problem with timestamps
+ sleep 1
+ ./config.status
make all shared || return 1
}