wok-next annotate ettercap/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 835b3b8ce6ac
children 5e01e6d2531a
rev   line source
al@20547 1 # SliTaz package receipt v2.
pascal@11221 2
pascal@11221 3 PACKAGE="ettercap"
pascal@11221 4 VERSION="NG-0.7.3"
pascal@11221 5 CATEGORY="network"
al@21020 6 SHORT_DESC="Suite for 'man in the middle' attacks on LAN"
pascal@11221 7 MAINTAINER="claudinei@slitaz.org"
pascal@15202 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://ettercap.sourceforge.net/"
al@20547 10
pascal@11221 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11221 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11221 13
pascal@14508 14 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
pascal@14508 15 zlib-dev"
pascal@14508 16
al@20547 17 compile_rules() {
pascal@11221 18 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
al@20569 19
pascal@11221 20 ./configure \
pascal@11221 21 --enable-plugins \
pascal@11221 22 --disable-gtk \
pascal@11221 23 $CONFIGURE_ARGS &&
al@20569 24 fix libtool &&
al@20547 25 make &&
al@21020 26 make DESTDIR=$install install
pascal@11221 27 }
pascal@11221 28
al@20547 29 genpkg_rules() {
al@20547 30 copy @std
al@20547 31 DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
pascal@11221 32 }