aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nuttcp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-06 11:13:49 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-06 11:13:49 +0000
commit80cf64e8eb93fc4277fd70a7c1bbb57307e93286 (patch)
tree53794ae4e492bef45b264c35dd26fd93fa138c0d /testing/nuttcp
parent3a6fae5fb93d1b3a4df1c98098a45d725d1135c0 (diff)
downloadaports-80cf64e8eb93fc4277fd70a7c1bbb57307e93286.tar.bz2
aports-80cf64e8eb93fc4277fd70a7c1bbb57307e93286.tar.xz
testing/nuttcp: upgrade to 7.3.3
Diffstat (limited to 'testing/nuttcp')
-rw-r--r--testing/nuttcp/APKBUILD23
1 files changed, 11 insertions, 12 deletions
diff --git a/testing/nuttcp/APKBUILD b/testing/nuttcp/APKBUILD
index ec0b72a0aa..b4de8c9905 100644
--- a/testing/nuttcp/APKBUILD
+++ b/testing/nuttcp/APKBUILD
@@ -1,20 +1,20 @@
# Contributor: Danilo Godec <danilo.godec@agenda.si>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nuttcp
-pkgver=6.1.2
+pkgver=7.3.3
pkgrel=0
pkgdesc="A network performance measurement tool"
-url="http://lcp.nrl.navy.mil/nuttcp/"
+url="http://www.nuttcp.net"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
-subpackages="$pkgname-doc"
-source="http://lcp.nrl.navy.mil/$pkgname/$pkgname-$pkgver.tar.bz2"
+subpackages=""
+source="http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp-$pkgver.c"
-_builddir="$srcdir"/$pkgname-$pkgver
+_builddir="$srcdir"/
prepare() {
local i
cd "$_builddir"
@@ -27,14 +27,13 @@ prepare() {
build() {
cd "$_builddir"
- make || return 1
+ ${CC:-gcc} $CFLAGS -o nuttcp $LDFLAGS "$srcdir"/nuttcp-$pkgver.c
}
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
+ install -Dm755 nuttcp "$pkgdir"/usr/sbin/nuttcp
}
-md5sums="a16d4d6d5def02cea980e57feaf30500 nuttcp-6.1.2.tar.bz2"
+md5sums="dfbff3c38fb0cbdc474ca6d13539d425 nuttcp-7.3.3.c"
+sha256sums="d68e291a72375d76f301d54aa945727c95e78090aa6783a4844764e632e98a4a nuttcp-7.3.3.c"
+sha512sums="1df425743868c0f1f502b9bdff8d9644a0d298d59b9c543d9023551598ab6dd0547d6492bc09dd1cc4b136b22495ce2b17d1ebe354387785f71e22cda5466f11 nuttcp-7.3.3.c"