wok-current view ettercap/receipt @ rev 24314
updated vlgothic-fonts (20141206 -> 20200720)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 22 13:28:11 2022 +0100 (2022-01-22) |
parents | c10a3037b056 |
children | 5bf9ffd87970 |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 mkdir build
28 cd build
29 cmake \
30 -DCMAKE_INSTALL_PREFIX=/usr \
31 -DENABLE_GTK=OFF \
32 -DENABLE_PLUGINS=ON \
33 ../
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/etc $fs
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib $fs/usr
46 cp -a $install/usr/share/ettercap $fs/usr/share
47 }