/[gentoo-x86]/net-wireless/airpwn/airpwn-1.4-r1.ebuild
Gentoo

Contents of /net-wireless/airpwn/airpwn-1.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Apr 2 20:37:01 2014 UTC (6 years, 3 months ago) by zerochaos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
install example conf files and content required to use them

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/airpwn/airpwn-1.4-r1.ebuild,v 1.2 2013/05/02 06:29:36 zerochaos Exp $
4
5 EAPI="5"
6
7 PYTHON_DEPEND="2:2.4"
8
9 inherit python flag-o-matic
10
11 DESCRIPTION="a tool for generic packet injection on 802.11"
12 HOMEPAGE="http://airpwn.sf.net"
13 SRC_URI="mirror://sourceforge/airpwn/$P.tgz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS=""
18 IUSE="+examples"
19
20 DEPEND="dev-libs/libpcre
21 dev-libs/openssl
22 net-libs/libnet
23 net-libs/libpcap
24 net-wireless/lorcon-old"
25 RDEPEND="${DEPEND}"
26
27 pkg_setup() {
28 python_set_active_version 2
29 python_pkg_setup
30 }
31
32 src_configure() {
33 econf
34 sed -i "s/python2.4/python$(python_get_version)/g" conf.h
35 sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -lpython$(python_get_version)|g" Makefile
36 }
37
38 src_install() {
39 DESTDIR="${D}" emake install
40 dodoc README
41 if use examples; then
42 docinto sample-configs
43 rm -rf conf/CVS
44 dodoc conf/*
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20