PKGBUILDs/extra/tcptraceroute/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
784 B
Bash

# $Id: PKGBUILD 20227 2008-12-01 18:23:48Z thomas $
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
pkgname=tcptraceroute
pkgver=1.5beta7
pkgrel=5
pkgdesc="A traceroute implementation using TCP packets."
arch=(i686 x86_64)
url="http://michael.toren.net/code/tcptraceroute/"
license=('GPL')
depends=('libpcap>=1.0.0')
makedepends=('libnet')
source=(http://michael.toren.net/code/tcptraceroute/$pkgname-$pkgver.tar.gz)
md5sums=('65d1001509f971ea986fcbc2dd009643')
build() {
cd ${srcdir}/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --with-libnet=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -d -m755 ${pkgdir}/usr/share
mv ${pkgdir}/usr/man ${pkgdir}/usr/share/
}