updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / lft / PKGBUILD
blob8f454d238f8116c8b47ab981dcef1bbf9efe02d7
1 # Maintainer: CRT <crt.011@gmail.com>
2 # Contributor: Sébastien Duquette <ekse.0x@gmail.com>
3 # Contributor: damir <damir@archlinux.org>
4 # Contributor: Damir Perisa <damir.perisa@bluewin.ch>
6 pkgname=lft
7 pkgver=3.33
8 pkgrel=1
9 pkgdesc="A layer four traceroute implementing numerous other features"
10 arch=('i686' 'x86_64')
11 license=('custom')
12 url="http://pwhois.org/lft/"
13 depends=('libpcap')
14 source=("http://pwhois.org/dl/index.who?file=${pkgname}-${pkgver}.tar.gz")
15 md5sums=('3b06407233677e20ae1e3c3e988f3052')
17 build() {
18   cd "${srcdir}/$pkgname-$pkgver"
19   ./configure --prefix=/usr
20   make 
21 }  
23 package() {
24   cd "${srcdir}/$pkgname-$pkgver"
25   make prefix="${pkgdir}"/usr install
26   
27   install -D -d -m755 "${pkgdir}"/usr/share
28   install -D -m644 "${srcdir}/$pkgname-$pkgver"/COPYING \
29     "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE