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

30 lines
1.1 KiB
Bash

# $Id: PKGBUILD 20316 2008-12-02 12:51:44Z tom $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Kevin Piche <kevin@archlinux.org>
pkgname=ettercap-gtk
pkgver=NG_0.7.3
_origname=ettercap
_origver=NG-0.7.3
pkgrel=5
pkgdesc="A network sniffer/interceptor/logger for ethernet LANs - GTK"
arch=(i686 x86_64)
url="http://ettercap.sourceforge.net/"
license=('GPL')
# Other deps are included by ettercap.
depends=("ettercap=${pkgver}-11" 'gtk2' 'libtool>=2.2.4')
makedepends=('libnet')
options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/${_origname}/${_origname}-${_origver}.tar.gz
ettercap.desktop)
md5sums=('28fb15cd024162c55249888fe1b97820' '6ef18fdd114297d4ed9e5104d309f071')
build() {
cd $startdir/src/${_origname}-${_origver}
./configure --prefix=/usr --sysconfdir=/etc --enable-plugins --enable-https
make || return 1
install -D ${startdir}/src/${_origname}-${_origver}/src/ettercap \
${startdir}/pkg/usr/bin/ettercap-gtk
install -D ${startdir}/src/ettercap.desktop \
${startdir}/pkg/usr/share/applications/ettercap.desktop
}