summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Brix Andersen <brix@gentoo.org>2006-04-11 16:10:38 +0000
committerHenrik Brix Andersen <brix@gentoo.org>2006-04-11 16:10:38 +0000
commit50f25678ef607dc032fc0a4c0487a25bee38d31f (patch)
tree4a8e0112e8ae20bf2108b544b5721233829228a5 /net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild
parentNew pre-release. (diff)
downloadgentoo-2-50f25678ef607dc032fc0a4c0487a25bee38d31f.tar.gz
gentoo-2-50f25678ef607dc032fc0a4c0487a25bee38d31f.tar.bz2
gentoo-2-50f25678ef607dc032fc0a4c0487a25bee38d31f.zip
Version bump.
(Portage version: 2.0.54)
Diffstat (limited to 'net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild')
-rw-r--r--net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild47
1 files changed, 47 insertions, 0 deletions
diff --git a/net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild b/net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild
new file mode 100644
index 000000000000..0f78a8bc18b6
--- /dev/null
+++ b/net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wispy-tools/wispy-tools-2006.03.1.ebuild,v 1.1 2006/04/11 16:10:38 brix Exp $
+
+MY_P=${P/\./-}
+MY_P=${MY_P/./-R}
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="Tools for the MetaGeek Wi-Spy spectrum analyzer"
+HOMEPAGE="http://www.kismetwireless.net/wispy.shtml"
+SRC_URI="http://www.kismetwireless.net/code/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug gtk ncurses"
+
+DEPEND="dev-libs/libusb
+ ncurses? ( sys-libs/ncurses )
+ gtk? ( || ( =x11-libs/gtk+-1.2* =x11-libs/gtk+-2* ) )"
+
+src_compile() {
+ econf || die "econf failed"
+
+ emake wispy_log || die "emake wispy_log failed"
+
+ if use debug; then
+ emake wispy_raw || die "emake wispy_raw failed"
+ fi
+
+ if use ncurses; then
+ emake wispy_curses || die "emake wispy_curses failed"
+ fi
+
+ if use gtk; then
+ emake wispy_gtk || die "emake wispy_gtk failed"
+ fi
+}
+
+src_install() {
+ dobin wispy_log
+ use debug && dobin wispy_raw
+ use ncurses && dobin wispy_curses
+ use gtk && dobin wispy_gtk
+
+ dodoc README
+}