updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / ettercap_x64 / PKGBUILD
blob1e5605a4cdc5d1b10e5cb2acbaf13cb501ff8db6
1 pkgname=ettercap_x64
2 pkgver=0.7.3
3 pkgrel=1
4 pkgdesc="Ettercap is a suite for man in the middle attacks on LAN. This is a patched version with dns support on x86_64."
5 arch=('x86_64')
6 url="http://ettercap.sourceforge.net/"
7 depends=()
8 depends=('libpcap>=0.8.1' 'libnet>=1.1.2.1' 'gtk2' 'pth' 'zlib' 'libtool' 'pcre' 'openssl' 'pkgconfig>=0.15.0' 'atk>=1.6.0' 'pango>=1.4.0' )
9 license=('GPL')
10 conflicts=('ettercap' 'ettercap-gtk')
11 provides=('ettercap' 'ettercap-gtk')
12 source=('http://sourceforge.net/projects/ettercap/files/ettercap/NG-0.7.3/ettercap-NG-0.7.3.tar.gz/download' 'ettercap-NG-0.7.3_x86_64.patch')
13 md5sums=('28fb15cd024162c55249888fe1b97820' '6a68053e20b431eabe50f529df390706')
15 build() {
16   patch -p0 -i ettercap-NG-0.7.3_x86_64.patch
17   cd "$srcdir/ettercap-NG-$pkgver"
18   
19   ./configure --prefix=/usr LDFLAGS=-pthread
20   make || return 1
21   make DESTDIR="$pkgdir/" install || return 1