1 # Contributor: Max Resch <mxr@users.sourceforge.net>
2 # Thanks To: audrencezar
6 pkgdesc="Measure the bandwidth between two hosts using the ICMP protocol without the need of a client/server architecture"
8 url="http://fgouget.free.fr/bing/bing_src-readme-1st.shtml"
10 makedepends=(gzip patch)
12 source=("https://launchpad.net/ubuntu/karmic/+source/${pkgname}/${pkgver}-2/+files/${pkgname}_${pkgver}.orig.tar.gz"
13 "https://launchpad.net/ubuntu/karmic/+source/${pkgname}/${pkgver}-2/+files/${pkgname}_${pkgver}-2.diff.gz")
14 md5sums=('fc19049101d37a6d24d883082ca25eb1'
15 '63838857b2f9b5f71088cb455245c40c')
17 cd $srcdir/$pkgname-$pkgver
18 patch -p1 -i ${srcdir}/${pkgname}_${pkgver}-2.diff
20 install -D -o root -g root -m 4555 bing $pkgdir/usr/bin/bing || return 1
21 install -D -o root -g root -m 0644 unix/bing.8 $pkgdir/usr/share/man/man8/bing.8 || return 1