wok-next view ettercap/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
parents 4f9aa059e6fb
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ettercap"
4 VERSION="0.8.3"
5 CATEGORY="network"
6 SHORT_DESC="Multipurpose Network sniffer, analyser, interceptor, logger"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.ettercap-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Ettercap/ettercap/releases/download/v$VERSION/$TARBALL"
13 TARBALL_SHA1="1db39315b2b2b574dc1eb3f7ae72871ad2391e2f"
15 BUILD_DEPENDS="cmake curl-dev geoip-dev gtk3-dev ncurses-dev libnet-dev
16 libpcap-dev openssl-dev zlib-dev"
17 SPLIT="$PACKAGE-gtk:gtk"
19 compile_rules()
20 {
21 case $SET in
22 '') SET_ARGS='-DENABLE_GTK=OFF';;
23 gtk) SET_ARGS='-DENABLE_GTK=ON';;
24 esac
26 mkdir build
27 cd build
28 cmake .. \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 $SET_ARGS &&
31 make &&
32 make install
33 }
35 genpkg_rules()
36 {
37 case $PACKAGE in
38 ettercap)
39 copy @std
40 find $fs \( -name '*.png' -o -name '*.svg' \) -delete
41 DEPENDS="geoip libcurl libnet libpcap libpcre ncurses
42 ncurses-libform ncurses-libmenu ncurses-libpanel
43 openssl zlib"
44 CAT="network|console flavor"
45 CONFIG_FILES="/etc/ettercap/etter.conf"
46 ;;
47 *-gtk)
48 copy @std
49 DEPENDS="geoip glib gtk3 libcurl libnet libpcap libpcre
50 ncurses ncurses-libform ncurses-libmenu
51 ncurses-libpanel openssl zlib"
52 CAT="network|GTK flavor"
53 PROVIDE="ettercap"
54 CONFIG_FILES="/etc/ettercap/etter.conf"
55 ;;
56 esac
57 }