wok-6.x annotate ettercap/receipt @ rev 19725
compiz-core: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 15:48:06 2017 +0100 (2017-02-16) |
parents | 223b265f40fd |
children | 174738f4e9f9 |
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 |
pascal@14508 | 13 DEPENDS="libpthread-stubs libpcap libnet libtool 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 |