From e39d5f838c08b5b57eae4c1aec4ae00acd18b239 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Dec 2011 23:14:50 +0000 Subject: Sun Dec 25 23:14:50 UTC 2011 --- community/tcpreplay/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 community/tcpreplay/PKGBUILD (limited to 'community/tcpreplay/PKGBUILD') diff --git a/community/tcpreplay/PKGBUILD b/community/tcpreplay/PKGBUILD new file mode 100644 index 000000000..054c87d7e --- /dev/null +++ b/community/tcpreplay/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 61217 2011-12-24 18:01:44Z tredaelli $ +# Maintainer: Timothy Redaelli +# Contributor: Sébastien Duquette +# Contributor: Dawid Wrobel +pkgname=tcpreplay +pkgver=3.4.4 +pkgrel=3 +pkgdesc="Gives the ability to replay previously captured traffic in a libpcap format" +url="http://tcpreplay.synfin.net" +arch=('i686' 'x86_64') +license=('GPL3') +depends=('libpcap' 'libdnet') +makedepends=('tcpdump') +optdepends=('tcpdump: decoding of packets support') +options=('!emptydirs') +source=("http://downloads.sourceforge.net/sourceforge/tcpreplay/${pkgname}-${pkgver}.tar.gz") +md5sums=('22725feb9b2590809f9350308ec65180') + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --enable-dynamic-link --with-tcpdump=/usr/sbin/tcpdump + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} -- cgit v1.2.3-54-g00ecf