wok-undigest annotate ettercap/receipt @ rev 130

pcmanfm2: style WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Mon May 17 13:23:42 2010 -0400 (2010-05-17)
parents
children 8b9b71835699
rev   line source
claudinei@32 1 # SliTaz package receipt.
claudinei@32 2
claudinei@32 3 PACKAGE="ettercap"
claudinei@32 4 VERSION="NG-0.7.3"
claudinei@32 5 CATEGORY="network"
claudinei@32 6 SHORT_DESC="Ettercap is a suite for man in the middle attacks on LAN"
claudinei@32 7 MAINTAINER="claudinei@slitaz.org"
claudinei@32 8 DEPENDS="libpthread-stubs libpcap libnet libtool zlib"
claudinei@32 9 BUILD_DEPENDS="libpthread-stubs libpcap libnet-dev libtool zlib-dev"
claudinei@32 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
claudinei@32 11 WEB_SITE="http://ettercap.sourceforge.net"
claudinei@32 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
claudinei@32 13
claudinei@32 14 # Rules to configure and make the package.
claudinei@32 15 compile_rules()
claudinei@32 16 {
claudinei@32 17 cd $src
claudinei@32 18 ./configure \
claudinei@32 19 --prefix=/usr \
claudinei@32 20 --infodir=/usr/share/info \
claudinei@32 21 --mandir=/usr/share/man \
claudinei@32 22 --enable-plugins \
claudinei@32 23 --disable-gtk \
claudinei@32 24 $CONFIGURE_ARGS &&
claudinei@32 25 make && make DESTDIR=$PWD/_pkg install
claudinei@32 26 }
claudinei@32 27
claudinei@32 28 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@32 29 genpkg_rules()
claudinei@32 30 {
claudinei@32 31 mkdir -p $fs/usr/share
claudinei@32 32 cp -a $_pkg/usr/bin $fs/usr
claudinei@32 33 cp -a $_pkg/usr/etc $fs
claudinei@32 34 cp -a $_pkg/usr/share/ettercap $fs/usr/share
claudinei@32 35 cp -a $_pkg/usr/lib $fs/usr
claudinei@32 36 }
claudinei@32 37