updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tcpdstat / PKGBUILD
blob7b080bfa51ecfca3dbca6c39e2af3f29744d95be
1 # Contributor: linuxSEAT <--put_my_name_here--@gmail.com>
2 pkgname=tcpdstat
3 pkgver=1.8
4 pkgrel=1
5 pkgdesc="TCP/IP statistical analysis tool"
6 arch=('i686' 'x86_64')
7 license=('custom')
8 url="http://staff.washington.edu/dittrich/talks/core02/tools/tools.html"
9 depends=('libpcap')
10 source=(http://staff.washington.edu/dittrich/talks/core02/tools/$pkgname-uw.tar
11         LICENSE
12         $pkgname.patch)
13 md5sums=('64b246fb0a4ee47ae37e83d721b205df'
14          '3d93d31bcb2f45ea922094857000d40e'
15          '221befa2388fb5f106f64170547a612d')
17 build() {
18   
19   cd ${srcdir}/$pkgname-uw
20   patch -Np1 -i "${srcdir}/$pkgname.patch" || return 1
21   make || return 1
23   install -Dm755 $pkgname \
24       ${pkgdir}/usr/bin/$pkgname || return 1
25   install -Dm644 ${srcdir}/LICENSE \
26       ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1