wok-current view ettercap/receipt @ rev 14687

terminology: Up to 0.3.0-3
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:09:23 2013 +0200 (2013-06-06)
parents 81200a5ef6b9
children 223b265f40fd
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ettercap.sourceforge.net"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libpthread-stubs libpcap libnet libtool zlib"
13 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \
14 zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --enable-plugins \
26 --disable-gtk \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/etc $fs
37 cp -a $install/usr/share/ettercap $fs/usr/share
38 cp -a $install/usr/lib $fs/usr
39 }