From f7ebb417505cb113ae7096eef7c296d18be7264c Mon Sep 17 00:00:00 2001 From: John Keith Hohm Date: Mon, 11 Jul 2011 16:21:37 -0500 Subject: testing/mtr: new aport Full screen ncurses traceroute tool http://www.bitwizard.nl/mtr/ --- testing/mtr/APKBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 testing/mtr/APKBUILD (limited to 'testing/mtr/APKBUILD') diff --git a/testing/mtr/APKBUILD b/testing/mtr/APKBUILD new file mode 100644 index 000000000..d2c155906 --- /dev/null +++ b/testing/mtr/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: John Keith Hohm +# Maintainer: +pkgname=mtr +pkgver=0.80 +pkgrel=0 +pkgdesc="Full screen ncurses traceroute tool" +url="http://www.bitwizard.nl/mtr/" +arch="all" +license="GPL" +depends="ncurses" +depends_dev="ncurses-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="ftp://ftp.bitwizard.nl/$pkgname/$pkgname-$pkgver.tar.gz + mtr-res_mkquery.patch + " + +_builddir="src/$pkgname-$pkgver" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + --without-gtk \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="fa68528eaec1757f52bacf9fea8c68a9 mtr-0.80.tar.gz +f5982bdacddd8c1ea26d578b62bf810c mtr-res_mkquery.patch" -- cgit v1.2.3