wok-6.x view ettercap/receipt @ rev 20160
linld: fix puts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 01 11:21:28 2018 +0100 (2018-01-01) |
parents | 5564070da2e1 |
children | c10a3037b056 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ettercap"
4 VERSION="NG-0.7.3"
5 CATEGORY="network"
6 SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ettercap.sourceforge.net"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libpthread-stubs libpcap libnet libltdl zlib"
14 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
15 zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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.*
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --enable-plugins \
27 --disable-gtk \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/etc $fs
38 cp -a $install/usr/share/ettercap $fs/usr/share
39 cp -a $install/usr/lib $fs/usr
40 }