diff options
Diffstat (limited to 'unmaintained/nuttcp/APKBUILD')
-rw-r--r-- | unmaintained/nuttcp/APKBUILD | 31 |
1 files changed, 9 insertions, 22 deletions
diff --git a/unmaintained/nuttcp/APKBUILD b/unmaintained/nuttcp/APKBUILD index 240af4de57..0b6d2345a8 100644 --- a/unmaintained/nuttcp/APKBUILD +++ b/unmaintained/nuttcp/APKBUILD @@ -1,39 +1,26 @@ # Contributor: Danilo Godec <danilo.godec@agenda.si> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=nuttcp -pkgver=7.3.3 +pkgver=8.1.4 pkgrel=0 pkgdesc="A network performance measurement tool" url="http://www.nuttcp.net" arch="all" license="GPL2" -depends="" -depends_dev="" -makedepends="$depends_dev linux-headers" -install="" -subpackages="" +makedepends="linux-headers" source="http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp-$pkgver.c" - -_builddir="$srcdir"/ -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 -} +builddir="$srcdir"/ build() { - cd "$_builddir" + cd "$builddir" ${CC:-gcc} $CFLAGS -o nuttcp $LDFLAGS "$srcdir"/nuttcp-$pkgver.c } package() { - cd "$_builddir" + cd "$builddir" install -Dm755 nuttcp "$pkgdir"/usr/sbin/nuttcp } -md5sums="dfbff3c38fb0cbdc474ca6d13539d425 nuttcp-7.3.3.c" -sha256sums="d68e291a72375d76f301d54aa945727c95e78090aa6783a4844764e632e98a4a nuttcp-7.3.3.c" -sha512sums="1df425743868c0f1f502b9bdff8d9644a0d298d59b9c543d9023551598ab6dd0547d6492bc09dd1cc4b136b22495ce2b17d1ebe354387785f71e22cda5466f11 nuttcp-7.3.3.c" + +md5sums="f3e236273f509f4f3993d9f842ffd860 nuttcp-8.1.4.c" +sha256sums="d063efc143ed4e740439b859be075b4a4c35194a7d47e62378dd44d73974cfd7 nuttcp-8.1.4.c" +sha512sums="5bc1505d708ed9555c03bb5358f8a94f483b725d99c5b1de74447a888bb4d9485385602538d7be2b56026a87f9fd2255744e7528f92cfb5fe54f5f4ab7c2e1fc nuttcp-8.1.4.c" |