/[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.6 - (show annotations) (download)
Sat Mar 2 19:14:06 2013 UTC (2 months, 2 weeks ago) by hwoarang
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +6 -6 lines
Move Qt dependencies to the new category

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

1 # Copyright 1999-2013 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.5 2012/08/25 22:32:36 zerochaos 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 dev-qt/qtgui:4
26 dev-qt/qtcore:4"
27
28 DEPEND="dev-qt/qtgui:4
29 dev-qt/qtcore: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.13