/[gentoo-x86]/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild
Gentoo

Contents of /app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat Aug 25 22:32:36 2012 UTC (23 months, 3 weeks ago) by zerochaos
Branch: MAIN
Changes since 1.4: +6 -4 lines
allow users to not install huge opencl/cuda apps if they don't want them

(Portage version: 2.1.11.11/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild,v 1.4 2012/07/27 18:21:33 kensington Exp $
4
5 EAPI=4
6
7 inherit qt4-r2
8
9 DESCRIPTION="A gui for the *hashcat* suite of tools"
10 HOMEPAGE="https://github.com/scandium/hashcat-gui"
11
12 SRC_URI="mirror://github/scandium/hashcat-gui/zipball/b6b01be723742ad89ba31fdb2c30b35306318f8b -> ${P}.zip"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17
18 IUSE="cuda opencl"
19
20 RDEPEND="app-crypt/hashcat-bin
21 cuda? ( app-crypt/oclhashcat-plus-bin
22 app-crypt/oclhashcat-lite-bin )
23 opencl? ( app-crypt/oclhashcat-plus-bin
24 app-crypt/oclhashcat-lite-bin )
25 x11-libs/qt-gui:4
26 x11-libs/qt-core:4"
27
28 DEPEND="x11-libs/qt-gui:4
29 x11-libs/qt-core:4
30 app-arch/unzip"
31
32 S="${WORKDIR}"/scandium-hashcat-gui-b6b01be/src
33
34 src_prepare() {
35 sed -i 's#./hashcat#/opt/hashcat-bin#g' mainwindow.cpp || die
36 sed -i 's#./oclHashcat-plus#/opt/oclhashcat-plus-bin#g' mainwindow.cpp || die
37 sed -i 's#./oclHashcat-lite#/opt/oclhashcat-lite-bin#g' mainwindow.cpp || die
38 }
39
40 src_install() {
41 dobin hashcat-gui
42 cd "${WORKDIR}"/scandium-hashcat-gui-b6b01be || die
43 dodoc ChangeLog FAQ INSTALL README TODO
44 }

  ViewVC Help
Powered by ViewVC 1.1.20