aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-19 00:25:54 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-19 13:08:10 +0200
commit61da2bb44b8a740f83b74bd0dddcae75dd0a0b20 (patch)
treeff04ccd1e17e960b2e46c0166e331dadc54d6689 /main
parent4b38f2cbe9a14da6f20ab60bcbe9a8a205b99810 (diff)
downloadaports-61da2bb44b8a740f83b74bd0dddcae75dd0a0b20.tar.bz2
aports-61da2bb44b8a740f83b74bd0dddcae75dd0a0b20.tar.xz
main/tcpdump: rebuild to fix install_if for -doc subpackage
Also cleanup the APKBUILD a bit.
Diffstat (limited to 'main')
-rw-r--r--main/tcpdump/APKBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/main/tcpdump/APKBUILD b/main/tcpdump/APKBUILD
index da7c050a25..5ab0ad7649 100644
--- a/main/tcpdump/APKBUILD
+++ b/main/tcpdump/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=tcpdump
pkgver=4.7.4
-pkgrel=0
+pkgrel=1
pkgdesc="A tool for network monitoring and data acquisition"
url="http://www.tcpdump.org"
arch="all"
@@ -11,28 +11,28 @@ makedepends="libpcap-dev openssl-dev perl"
subpackages="$pkgname-doc"
source="http://www.$pkgname.org/release/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
+builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$_builddir"
+ cd "$builddir"
update_config_sub || return 1
}
build () {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
--mandir=/usr/share/man \
+ --localstatedir=/var \
--enable-ipv6 \
|| return 1
make || return 1
-# make check || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/sbin/tcpdump.4*
}