wok annotate ettercap/receipt @ rev 15073
foomatic-db: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 14:38:53 2013 +0000 (2013-08-13) |
parents | 81200a5ef6b9 |
children | 223b265f40fd |
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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11221 | 9 WEB_SITE="http://ettercap.sourceforge.net" |
pascal@11221 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11221 | 11 |
pascal@14508 | 12 DEPENDS="libpthread-stubs libpcap libnet libtool zlib" |
pascal@14508 | 13 BUILD_DEPENDS="libpthread-stubs libpcap libpcap-dev libnet-dev libtool file \ |
pascal@14508 | 14 zlib-dev" |
pascal@14508 | 15 |
pascal@11221 | 16 # Rules to configure and make the package. |
pascal@11221 | 17 compile_rules() |
pascal@11221 | 18 { |
pascal@11221 | 19 cd $src |
pascal@11221 | 20 sed -i 's/ettercap_LDFLAGS = -export-dynamic @EC_LIBS@/ettercap_LDADD += @EC_LIBS@\nettercap_LDFLAGS = -export-dynamic/' src/Makefile.* |
pascal@11221 | 21 ./configure \ |
pascal@11221 | 22 --prefix=/usr \ |
pascal@11221 | 23 --infodir=/usr/share/info \ |
pascal@11221 | 24 --mandir=/usr/share/man \ |
pascal@11221 | 25 --enable-plugins \ |
pascal@11221 | 26 --disable-gtk \ |
pascal@11221 | 27 $CONFIGURE_ARGS && |
pascal@11221 | 28 make && make DESTDIR=$DESTDIR install |
pascal@11221 | 29 } |
pascal@11221 | 30 |
pascal@11221 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11221 | 32 genpkg_rules() |
pascal@11221 | 33 { |
pascal@11221 | 34 mkdir -p $fs/usr/share |
pascal@14508 | 35 cp -a $install/usr/bin $fs/usr |
pascal@14508 | 36 cp -a $install/usr/etc $fs |
pascal@14508 | 37 cp -a $install/usr/share/ettercap $fs/usr/share |
pascal@14508 | 38 cp -a $install/usr/lib $fs/usr |
pascal@11221 | 39 } |
pascal@11221 | 40 |