pentoo-overlay/app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2.ebuild

28 lines
610 B
Bash

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="A Nvidia GPU-based RAR bruteforcer"
HOMEPAGE="http://www.crark.net/"
SRC_URI="http://www.crark.net/Cuda-OpenSrc.rar"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="x86"
IUSE=""
DEPEND="dev-util/nvidia-cuda-sdk
app-arch/unrar"
RDEPEND="x11-drivers/nvidia-drivers"
S="${WORKDIR}/"
src_compile() {
epatch "${FILESDIR}/cuda-rarcrypt-path.patch"
emake || die "emake failed"
}
src_install() {
dobin bin/linux/release/cuda-rarcrypt || die "dobin failed"
dodoc readme
}