diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/tcpdump/APKBUILD | 14 |
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* } |