wok-undigest view ettercap/receipt @ rev 226

Improve libbonobo* receipt
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 18 11:24:32 2011 +0100 (2011-03-18)
parents
children 8b9b71835699
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 DEPENDS="libpthread-stubs libpcap libnet libtool zlib"
9 BUILD_DEPENDS="libpthread-stubs libpcap libnet-dev libtool zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ettercap.sourceforge.net"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --enable-plugins \
23 --disable-gtk \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/etc $fs
34 cp -a $_pkg/usr/share/ettercap $fs/usr/share
35 cp -a $_pkg/usr/lib $fs/usr
36 }