aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mtr/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-07-06 14:17:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-07-06 14:17:23 +0000
commite57c496c66921961baf91d13c48b5d90ff170d84 (patch)
treecdac67b10887cfd72408bddbaca3df71e0b52153 /testing/mtr/APKBUILD
parent21d59922ccadd93795617de539b876a84f8a1542 (diff)
downloadaports-e57c496c66921961baf91d13c48b5d90ff170d84.tar.bz2
aports-e57c496c66921961baf91d13c48b5d90ff170d84.tar.xz
testing/mtr: upgrade to 0.82 and disable dns
fixes #1144
Diffstat (limited to 'testing/mtr/APKBUILD')
-rw-r--r--testing/mtr/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/testing/mtr/APKBUILD b/testing/mtr/APKBUILD
index d2c155906e..4e5a094273 100644
--- a/testing/mtr/APKBUILD
+++ b/testing/mtr/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: John Keith Hohm <john@hohm.net>
# Maintainer:
pkgname=mtr
-pkgver=0.80
+pkgver=0.82
pkgrel=0
pkgdesc="Full screen ncurses traceroute tool"
url="http://www.bitwizard.nl/mtr/"
@@ -9,14 +9,14 @@ arch="all"
license="GPL"
depends="ncurses"
depends_dev="ncurses-dev"
-makedepends="$depends_dev"
+makedepends="$depends_dev autoconf automake"
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.bitwizard.nl/$pkgname/$pkgname-$pkgver.tar.gz
- mtr-res_mkquery.patch
+ 0001-dns-allow-disable-dns-during-compile-time.patch
"
-_builddir="src/$pkgname-$pkgver"
+_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
@@ -25,6 +25,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
+ aclocal && touch ChangeLog && autoreconf
}
build() {
@@ -35,6 +36,7 @@ build() {
--infodir=/usr/share/info \
--localstatedir=/var \
--without-gtk \
+ --disable-dns \
|| return 1
make || return 1
}
@@ -44,5 +46,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="fa68528eaec1757f52bacf9fea8c68a9 mtr-0.80.tar.gz
-f5982bdacddd8c1ea26d578b62bf810c mtr-res_mkquery.patch"
+md5sums="10601ea543fda3e51545c4bce195b64c mtr-0.82.tar.gz
+ed4af88ccd422ba41f0c17268878cf4f 0001-dns-allow-disable-dns-during-compile-time.patch"