You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild

40 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/hashcat-gui/hashcat-gui-0.5.1.ebuild,v 1.2 2012/07/03 21:45:22 zerochaos Exp $
EAPI=4
inherit qt4-r2
DESCRIPTION="A gui for the *hashcat* suite of tools"
HOMEPAGE="https://github.com/scandium/hashcat-gui"
SRC_URI="mirror://github/scandium/hashcat-gui/zipball/b6b01be723742ad89ba31fdb2c30b35306318f8b -> ${P}.zip"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="app-crypt/hashcat-bin
app-crypt/oclhashcat-plus-bin
app-crypt/oclhashcat-lite-bin
x11-libs/qt-gui
x11-libs/qt-core"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/scandium-hashcat-gui-b6b01be/src
src_prepare() {
sed -i 's#./hashcat#/opt/hashcat-bin#g' mainwindow.cpp || die
sed -i 's#./oclHashcat-plus#/opt/oclhashcat-plus-bin#g' mainwindow.cpp || die
sed -i 's#./oclHashcat-lite#/opt/oclhashcat-lite-bin#g' mainwindow.cpp || die
}
src_install() {
dobin hashcat-gui
cd "${WORKDIR}"/scandium-hashcat-gui-b6b01be || die
dodoc ChangeLog FAQ INSTALL README TODO
}