wok-next view airpwn/receipt @ rev 21352

updated faad2 again (2.8.8 -> 2.9.1)
author Hans-G?nter Theisgen
date Fri Apr 10 07:27:41 2020 +0100 (2020-04-10)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="airpwn"
4 VERSION="1.4"
5 CATEGORY="network"
6 SHORT_DESC="A tool for generic packet injection on an 802.11 network"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://airpwn.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="pcre-dev libpcap-dev openssl-dev lorcon-dev \
15 wireless_tools-dev libnet-dev libnet python python-dev autoconf automake"
17 compile_rules() {
18 # Fix airpwn files so we can use it with a Python version other than 2.4.
19 PYTHON_VERSION1=$(python -c 'import sys; print sys.version[:3]')
20 PYTHON_VERSION2=$(echo $PYTHON_VERSION1 | tr . _)
22 for FILE in configure.ac conf.h config.h.in; do
23 sed -i "s|python2.4|python${PYTHON_VERSION1}|g" $FILE
24 done
26 autoreconf
27 automake --add-missing
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$install install
31 }
33 genpkg_rules() {
34 mkdir -p $fs/usr
35 cp -a $install/usr/sbin $fs/usr
36 DEPENDS="libnet libpcap libpcre lorcon openssl python wireless_tools"
37 }