wok annotate ettercap/receipt @ rev 15859

Up: libmicrohttpd to 0.9.33.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Jan 29 21:56:37 2014 +0000 (2014-01-29)
parents 5273b8724d00
children 5564070da2e1
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@11221 21 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' 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