wok annotate ettercap/receipt @ rev 11443

up: xfsprogs 3.1.7
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents
children 5273b8724d00
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@11221 8 DEPENDS="libpthread-stubs libpcap libnet libtool zlib"
pascal@11221 9 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool zlib-dev"
pascal@11221 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11221 11 WEB_SITE="http://ettercap.sourceforge.net"
pascal@11221 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11221 13
pascal@11221 14 # Rules to configure and make the package.
pascal@11221 15 compile_rules()
pascal@11221 16 {
pascal@11221 17 cd $src
pascal@11221 18 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.*
pascal@11221 19 ./configure \
pascal@11221 20 --prefix=/usr \
pascal@11221 21 --infodir=/usr/share/info \
pascal@11221 22 --mandir=/usr/share/man \
pascal@11221 23 --enable-plugins \
pascal@11221 24 --disable-gtk \
pascal@11221 25 $CONFIGURE_ARGS &&
pascal@11221 26 make && make DESTDIR=$DESTDIR install
pascal@11221 27 }
pascal@11221 28
pascal@11221 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11221 30 genpkg_rules()
pascal@11221 31 {
pascal@11221 32 mkdir -p $fs/usr/share
pascal@11221 33 cp -a $_pkg/usr/bin $fs/usr
pascal@11221 34 cp -a $_pkg/usr/etc $fs
pascal@11221 35 cp -a $_pkg/usr/share/ettercap $fs/usr/share
pascal@11221 36 cp -a $_pkg/usr/lib $fs/usr
pascal@11221 37 }
pascal@11221 38