updated on Sun Jan 22 20:01:29 UTC 2012
[aur-mirror.git] / tcptrace / PKGBUILD
blob67bd479f0568d1d77547752e10cc0fd5910e788b
1 # Contributor: bb <archlinux@gmx.net>
2 pkgname=tcptrace
3 pkgver=6.6.7
4 pkgrel=1
5 pkgdesc="A TCP dump file analysis tool"
6 arch=(i686)
7 url="http://jarok.cs.ohiou.edu/software/tcptrace/index.html"
8 license=('GPL')
9 depends=('libpcap')
10 install=$pkgname.install
11 source=(http://jarok.cs.ohiou.edu/software/tcptrace/download/$pkgname-$pkgver.tar.gz)
12 md5sums=(68128dc1817b866475e2f048e158f5b9)
14 build() {
15   cd $startdir/src/$pkgname-$pkgver  
16   ./configure
17   
18   cp Makefile Makefile.bak
19   sed -e "s|BINDIR = /usr/local/bin|BINDIR = $startdir/pkg/usr/bin|" -e "s|MANDIR = /usr/local/man/|MANDIR = $startdir/pkg/usr/man|" Makefile.bak > Makefile
20   rm Makefile.bak
22   make || return 1
23   make install