aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-05-30 14:01:43 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-31 14:34:02 +0000
commit56aaf05c71b0e5e1870282c9cc6426dec83b5839 (patch)
tree832d26cac70efac4eb7820dabbed08fe2ab46037
parentcc2cc865dc752335847fad3077c0004534066c3f (diff)
downloadalpine_aports-56aaf05c71b0e5e1870282c9cc6426dec83b5839.tar.bz2
alpine_aports-56aaf05c71b0e5e1870282c9cc6426dec83b5839.tar.xz
alpine_aports-56aaf05c71b0e5e1870282c9cc6426dec83b5839.zip
community/nuttcp: clarify licence, add manpage
-rw-r--r--community/nuttcp/APKBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/nuttcp/APKBUILD b/community/nuttcp/APKBUILD
index c50fd462e8..9b72ec07e7 100644
--- a/community/nuttcp/APKBUILD
+++ b/community/nuttcp/APKBUILD
@@ -6,19 +6,21 @@ pkgrel=0
6pkgdesc="A network performance measurement tool" 6pkgdesc="A network performance measurement tool"
7url="http://www.nuttcp.net" 7url="http://www.nuttcp.net"
8arch="all" 8arch="all"
9license="GPL-2.0" 9license="GPL-2.0-only"
10makedepends="linux-headers" 10makedepends="linux-headers"
11source="http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp-$pkgver.c" 11subpackages="$pkgname-doc"
12source="http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp-$pkgver.c
13 http://nuttcp.net/nuttcp/nuttcp-$pkgver/nuttcp.8"
12builddir="$srcdir" 14builddir="$srcdir"
13 15
14build() { 16build() {
15 cd "$builddir"
16 ${CC:-gcc} $CFLAGS -o nuttcp $LDFLAGS nuttcp-$pkgver.c 17 ${CC:-gcc} $CFLAGS -o nuttcp $LDFLAGS nuttcp-$pkgver.c
17} 18}
18 19
19package() { 20package() {
20 cd "$builddir"
21 install -Dm755 nuttcp "$pkgdir"/usr/sbin/nuttcp 21 install -Dm755 nuttcp "$pkgdir"/usr/sbin/nuttcp
22 install -Dm644 nuttcp.8 "$pkgdir"/usr/share/man/man8/nuttcp.8
22} 23}
23 24
24sha512sums="1a52ac7dd3a4a54806567944120a1e211408ac294342a62e6be11a157018cecb4f964435ceaad1e64ff6ca5c2e83911a68ede3aadd0e23edf739d849c74ca6d3 nuttcp-8.2.2.c" 25sha512sums="1a52ac7dd3a4a54806567944120a1e211408ac294342a62e6be11a157018cecb4f964435ceaad1e64ff6ca5c2e83911a68ede3aadd0e23edf739d849c74ca6d3 nuttcp-8.2.2.c
26e50621871fd60fe95a078b1f5c70e1e629c68ff14a7ddefccd1cd3831f8ede904ee6f84fa048cfb71e35285f29b71b47160cf707feefaf23d7496e167280e298 nuttcp.8"