wok-next view ettercap/receipt @ rev 19939
Replace s/libtool/libltdl/ in deps, libtool is build_dep.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sun Oct 15 18:18:17 2017 +0200 (2017-10-15) |
parents | 223b265f40fd |
children | 93930f418ffb |
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/' 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 }