aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nuttcp
diff options
context:
space:
mode:
authorDanilo Godec <danilo.godec@agenda.si>2011-08-10 11:54:24 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2011-08-10 12:46:50 +0000
commitd5cc91e23d61e81e56b2e3c91c89551d02260dd7 (patch)
treeb2979b2d8fcfd7a41a0618d318762f3215b111b9 /testing/nuttcp
parent8f96791a241d35dfe509dbdf21490d57ed391886 (diff)
downloadaports-d5cc91e23d61e81e56b2e3c91c89551d02260dd7.tar.bz2
aports-d5cc91e23d61e81e56b2e3c91c89551d02260dd7.tar.xz
testing/nuttcp: new aport
nuttcp is a network performance measurement tool intended for use by network and system managers.
Diffstat (limited to 'testing/nuttcp')
-rw-r--r--testing/nuttcp/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/nuttcp/APKBUILD b/testing/nuttcp/APKBUILD
new file mode 100644
index 0000000000..61dc904da2
--- /dev/null
+++ b/testing/nuttcp/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Danilo Godec <danilo.godec@agenda.si>
+# Maintainer:
+pkgname=nuttcp
+pkgver=6.1.2
+pkgrel=0
+pkgdesc="nuttcp - network performance measurement tool"
+url="http://lcp.nrl.navy.mil/nuttcp/"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://lcp.nrl.navy.mil/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/$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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -Dm755 nuttcp-6.1.2 "$pkgdir"/usr/sbin/nuttcp
+ install -Dm644 nuttcp.8 "$pkgdir"/usr/share/man/man8/nuttcp.8
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 README "$pkgdir"/usr/share/doc/$pkgname/README
+}
+md5sums="a16d4d6d5def02cea980e57feaf30500 nuttcp-6.1.2.tar.bz2"