/[gentoo-x86]/net-wireless/spectools/spectools-2006.03.1.ebuild
Gentoo

Contents of /net-wireless/spectools/spectools-2006.03.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Feb 10 13:03:42 2013 UTC (14 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
punt overshadowed old copies that either misplaced udev rules or had old ones otherwise

(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-wireless/spectools/spectools-2006.03.1.ebuild,v 1.2 2012/06/11 02:34:03 zerochaos Exp $
4
5 MY_PN=wispy-tools
6 MY_PV=${PV/\./-}
7 MY_PV=${MY_PV/./-R}
8 MY_P="${MY_PN}-${MY_PV}"
9 S=${WORKDIR}/${MY_P}
10
11 DESCRIPTION="Tools for the MetaGeek Wi-Spy spectrum analyzer"
12 HOMEPAGE="http://www.kismetwireless.net/wispy.shtml"
13 SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc x86"
18 IUSE="debug gtk ncurses"
19
20 DEPEND="=virtual/libusb-0*
21 ncurses? ( sys-libs/ncurses )
22 gtk? ( || ( =x11-libs/gtk+-1.2* =x11-libs/gtk+-2* ) )"
23 RDEPEND="${DEPEND}"
24
25 src_compile() {
26 econf || die "econf failed"
27
28 emake wispy_log || die "emake wispy_log failed"
29
30 if use debug; then
31 emake wispy_raw || die "emake wispy_raw failed"
32 fi
33
34 if use ncurses; then
35 emake wispy_curses || die "emake wispy_curses failed"
36 fi
37
38 if use gtk; then
39 emake wispy_gtk || die "emake wispy_gtk failed"
40 fi
41 }
42
43 src_install() {
44 dobin wispy_log
45 use debug && dobin wispy_raw
46 use ncurses && dobin wispy_curses
47 use gtk && dobin wispy_gtk
48
49 dodoc README
50 }

  ViewVC Help
Powered by ViewVC 1.1.20