wok-next view ettercap/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents dfe25744cfaf
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ettercap"
4 VERSION="NG-0.7.3"
5 CATEGORY="network"
6 SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://ettercap.sourceforge.net"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
15 zlib-dev"
17 compile_rules() {
18 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
20 ./configure \
21 --enable-plugins \
22 --disable-gtk \
23 $CONFIGURE_ARGS &&
24 fix libtool &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
32 }