wok annotate ettercap/receipt @ rev 20843
updated dolibarr (3.1.0 -> 9.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 20 16:50:55 2019 +0100 (2019-02-20) |
parents | 5564070da2e1 |
children | c10a3037b056 |
rev | line source |
---|---|
pascal@11221 | 1 # SliTaz package receipt. |
pascal@11221 | 2 |
pascal@11221 | 3 PACKAGE="ettercap" |
pascal@11221 | 4 VERSION="NG-0.7.3" |
pascal@11221 | 5 CATEGORY="network" |
pascal@11221 | 6 SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN" |
pascal@11221 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL2" |
pascal@11221 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11221 | 10 WEB_SITE="http://ettercap.sourceforge.net" |
pascal@11221 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11221 | 12 |
psychomaniak@20127 | 13 DEPENDS="libpthread-stubs libpcap libnet libltdl zlib" |
pascal@14508 | 14 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \ |
pascal@14508 | 15 zlib-dev" |
pascal@14508 | 16 |
pascal@11221 | 17 # Rules to configure and make the package. |
pascal@11221 | 18 compile_rules() |
pascal@11221 | 19 { |
pascal@11221 | 20 cd $src |
pascal@19693 | 21 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic -Wl,--copy-dt-needed-entries/' src/Makefile.* |
pascal@11221 | 22 ./configure \ |
pascal@11221 | 23 --prefix=/usr \ |
pascal@11221 | 24 --infodir=/usr/share/info \ |
pascal@11221 | 25 --mandir=/usr/share/man \ |
pascal@11221 | 26 --enable-plugins \ |
pascal@11221 | 27 --disable-gtk \ |
pascal@11221 | 28 $CONFIGURE_ARGS && |
pascal@11221 | 29 make && 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 |
pascal@14508 | 36 cp -a $install/usr/bin $fs/usr |
pascal@14508 | 37 cp -a $install/usr/etc $fs |
pascal@14508 | 38 cp -a $install/usr/share/ettercap $fs/usr/share |
pascal@14508 | 39 cp -a $install/usr/lib $fs/usr |
pascal@11221 | 40 } |
pascal@11221 | 41 |