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