wok-next view airpwn/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents e6615350078d
children f48456621a9d
line source
1 # SliTaz package receipt.
3 PACKAGE="airpwn"
4 VERSION="1.4"
5 CATEGORY="network"
6 SHORT_DESC="Airpwn is a tool for generic packet injection on an 802.11 network."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://airpwn.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tgz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libnet libpcap libpcre lorcon openssl python wireless_tools"
14 BUILD_DEPENDS="pcre-dev libpcap-dev openssl-dev lorcon-dev \
15 wireless_tools-dev libnet-dev libnet python python-dev autoconf automake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Fix airpwn files so we can use it with a Python version other than 2.4.
21 PYTHON_VERSION1=$(python -c 'import sys; print sys.version[:3]')
22 PYTHON_VERSION2=$(echo $PYTHON_VERSION1 | tr . _)
24 for FILE in configure.ac conf.h config.h.in; do
25 sed -i "s|python2.4|python${PYTHON_VERSION1}|g" $FILE
26 done
28 autoreconf
29 automake --add-missing
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make && make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/sbin $fs/usr
43 }