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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Mar 21 14:12:33 2015 UTC (5 years, 3 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
add missing eclass

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 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-r2.ebuild,v 1.2 2015/03/21 14:05:54 jlec Exp $
4
5 EAPI="5"
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit eutils flag-o-matic python-single-r1
10
11 DESCRIPTION="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 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
21
22 DEPEND="${PYTHON_DEPS}
23 dev-libs/libpcre
24 dev-libs/openssl:0=
25 net-libs/libnet:1.1=
26 net-libs/libpcap
27 net-wireless/lorcon-old"
28 RDEPEND="${DEPEND}"
29
30 src_configure() {
31 econf
32 sed -i "s/python2.4/${EPYTHON}/g" conf.h || die
33 sed -i "s|-lorcon -lpthread -lpcre -lpcap -lnet|-lorcon -lpthread -lpcre -lpcap -lnet -lcrypto -l${EPYTHON}|g" Makefile || die
34 }
35
36 src_install() {
37 default
38
39 if use examples; then
40 insinto /usr/share/${PN}
41 ecvs_clean
42 sed -i "s#content/#/usr/share/${PN}/content/#" conf/* || die
43 doins -r conf content
44 fi
45 }

  ViewVC Help
Powered by ViewVC 1.1.20