wok-6.x view ettercap/receipt @ rev 23688
updated sxiv (25 -> 26)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 26 17:41:01 2020 +0100 (2020-04-26) |
parents | 174738f4e9f9 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ettercap"
4 VERSION="0.8.3"
5 CATEGORY="network"
6 SHORT_DESC="A suite for man in the middle attacks on LAN."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.ettercap-project.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Ettercap/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS="curl geoip libltdl libnet libpcap libpthread-stubs openssl zlib"
15 BUILD_DEPENDS="cmake curl-dev file geoip-dev libnet-dev libpcap-dev
16 libpthread-stubs libtool ncurses-dev openssl-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DENABLE_GTK=OFF \
26 -DENABLE_PLUGINS=ON \
27 ../
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 cp -a $install/usr/share/ettercap $fs/usr/share
41 }