From 7224c1253228e5c29c78cb3f0f26ce34770f2356 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:24:26 +0200 Subject: Added ebuilds for kogaion desktop --- net-wireless/wepcrackgui/Manifest | 1 + net-wireless/wepcrackgui/wepcrackgui-9999.ebuild | 67 ++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 net-wireless/wepcrackgui/Manifest create mode 100644 net-wireless/wepcrackgui/wepcrackgui-9999.ebuild (limited to 'net-wireless/wepcrackgui') diff --git a/net-wireless/wepcrackgui/Manifest b/net-wireless/wepcrackgui/Manifest new file mode 100644 index 00000000..16b9584a --- /dev/null +++ b/net-wireless/wepcrackgui/Manifest @@ -0,0 +1 @@ +EBUILD wepcrackgui-9999.ebuild 1765 RMD160 fe40f94ca8f59c92fc341a3da27027ab36102ce0 SHA1 6545ecddb4940a76363e40162da9bce86e742300 SHA256 2ec4be7f71c474f40257f87e69d46fc398815bcfe2a4b6ba7ee8440e23576f31 diff --git a/net-wireless/wepcrackgui/wepcrackgui-9999.ebuild b/net-wireless/wepcrackgui/wepcrackgui-9999.ebuild new file mode 100644 index 00000000..509bce09 --- /dev/null +++ b/net-wireless/wepcrackgui/wepcrackgui-9999.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit git mono multilib + +DESCRIPTION="A GUI for aircrack-ng written in C#" +HOMEPAGE="http://sourceforge.net/projects/wepcrackgui/" +SRC_URI="" +EGIT_REPO_URI="git://wepcrackgui.git.sourceforge.net/gitroot/wepcrackgui/wepcrackgui" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="debug gtk qt4" + +DEPEND="dev-lang/mono + gtk? ( dev-dotnet/gtk-sharp ) + qt4? ( kde-base/kdebindings-csharp )" +RDEPEND="${DEPEND} + net-wireless/aircrack-ng + net-wireless/mdk" + +src_configure() { + local _conf + if use debug ; then + _conf=DEBUG + else + _conf=RELEASE + fi + echo $_conf >> _conf + ./configure --prefix=/usr --config=$_conf +} + +src_install() { + local _rls + if [[ $(cat _conf) == RELEASE ]]; then + _rls=Release + else + _rls=Debug + fi + insinto /usr/$(get_libdir)/${PN}/ + doins WepCrack/bin/$_rls/Unbuffer.exe || die + doins WepCrack/bin/$_rls/TestRun.exe || die + doins WepCrack/bin/$_rls/WepCrack.dll || die + doins WepCrack/bin/$_rls/WepCrackInterfaces.dll || die + if use gtk ; then + doins GWepCrackGui/bin/$_rls/GWepCrackGui.exe || die + doins GWepCrackGui/bin/$_rls/WepCrackGtk.dll || die + sed -i "s|./|/usr/$(get_libdir)/${PN}/|" GWepCrackGui/gwepcrack || die + dobin GWepCrackGui/gwepcrack || die + fi + if use qt4 ; then + doins QWepCrackGui/bin/$_rls/QWepCrackGui.exe || die + doins QWepCrackGui/bin/$_rls/WepCrackQt.dll || die + sed -i "s|./|/usr/$(get_libdir)/${PN}/|" QWepCrackGui/qwepcrack || die + dobin QWepCrackGui/qwepcrack || die + fi + insinto /usr/share/${PN}/ + doins WepCrack/SSID.txt || die + doins WepCrack/oui.txt || die + insinto /usr/share/${PN}/wordlists + doins WepCrack/wordlists/password.lst || die + dodoc TODO README || die +} -- cgit v1.2.3