wok-next view ettercap/receipt @ rev 20669
vde2: up / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 14:21:30 2018 +0300 (2018-05-11) |
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 }