updated on Thu Jan 12 08:01:00 UTC 2012
[aur-mirror.git] / nuttcp / PKGBUILD
blob137424c38d76fe1208f318652603066df103716d
1 # Contributor: Michal Soltys <soltys@ziu.info>
3 pkgname=nuttcp
4 pkgver=6.1.2
5 pkgrel=1
6 pkgdesc="TCP/UDP network testing tool - simple, easy to use, with interesting feature set."
7 arch=(i686 x86_64)
8 url="http://www.lcp.nrl.navy.mil/nuttcp/"
9 license=('GPL')
10 depends=('glibc')
11 install=nuttcp.install
12 source=(
13         ftp://ftp.lcp.nrl.navy.mil/pub/nuttcp/$pkgname-$pkgver.tar.bz2
15 build() {
16   cd "$startdir/src/$pkgname-$pkgver"
17   make || return 1;
18   gzip -c $pkgname.8 >$pkgname.8.gz
19   install -D -m0644 -o0 -g0 $pkgname.8.gz $startdir/pkg/usr/share/man/man8/$pkgname.8.gz
20   install -D -m0755 -o0 -g0 $pkgname-$pkgver $startdir/pkg/usr/sbin/$pkgname
22 md5sums=('a16d4d6d5def02cea980e57feaf30500')