summaryrefslogtreecommitdiff
path: root/community/tcpreplay/PKGBUILD
blob: d9bd7742e912e2a2993a5c4d002acf61f3fc6ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 61217 2011-12-24 18:01:44Z tredaelli $
# Maintainer: Timothy Redaelli <timothy.redaelli@gmail.com>
# Contributor: Sébastien Duquette <ekse.0x@gmail.com>
# Contributor: Dawid Wrobel <cromo@klej.net>
pkgname=tcpreplay
pkgver=3.4.4
pkgrel=3.1
pkgdesc="Gives the ability to replay previously captured traffic in a libpcap format"
url="http://tcpreplay.synfin.net"
arch=('i686' 'x86_64' 'mips64el')
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
}