mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-04 18:40:19 +02:00
* Added cuda-rarcrypt for x86
This commit is contained in:
parent
62bbd9d299
commit
9bf16a9583
3 changed files with 49 additions and 0 deletions
3
app-crypt/cuda-rarcrypt/Manifest
Normal file
3
app-crypt/cuda-rarcrypt/Manifest
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
AUX cuda-rarcrypt-path.patch 581 RMD160 4d40b1bf8f62f6f88cf3d84c8d87416517bd7578 SHA1 29c8f47ebbf95f9ad36a523869bb53cc6d2d772e SHA256 99a67c9c6c59c1f256c77018450b20b01f0f763f63011416a4fbcdf102519343
|
||||
DIST Cuda-OpenSrc.rar 30751 RMD160 b654007b906a74cc55d52557b0c7f44021e92c54 SHA1 f884482b52c84904f14fcb88363e9225ed160aac SHA256 0fceee3e7e521d6e02ddcfcd4756b07ec6bbc728c2ece0eca449d6d6974d3d50
|
||||
EBUILD cuda-rarcrypt-3.2.ebuild 575 RMD160 deb6b3f052989f735407812447b4a6526dcd8438 SHA1 6d3bab306d5dc7bb6bcc35c6073f52451aad6547 SHA256 ea58e3fe9c9d7addac46f6bfb5e72bf96300d07b20b7fa2b5598d006f84639a0
|
||||
26
app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2.ebuild
Normal file
26
app-crypt/cuda-rarcrypt/cuda-rarcrypt-3.2.ebuild
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2006 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"
|
||||
KEYWORDS="x86"
|
||||
IUSE=""
|
||||
SLOT="0"
|
||||
DEPEND="dev-util/nvidia-cuda-sdk"
|
||||
RDEPEND="${DEPEND}"
|
||||
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
|
||||
}
|
||||
20
app-crypt/cuda-rarcrypt/files/cuda-rarcrypt-path.patch
Normal file
20
app-crypt/cuda-rarcrypt/files/cuda-rarcrypt-path.patch
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
diff -Naur cuda-rarcrypt.orig/Makefile cuda-rarcrypt/Makefile
|
||||
--- cuda-rarcrypt.orig/Makefile 2009-04-28 12:50:15.000000000 +0000
|
||||
+++ cuda-rarcrypt/Makefile 2009-06-04 20:01:55.000000000 +0000
|
||||
@@ -1,5 +1,6 @@
|
||||
# Add source files here
|
||||
-EXECUTABLE := rarcrypt
|
||||
+ROOTBINDIR :=./bin
|
||||
+EXECUTABLE := cuda-rarcrypt
|
||||
|
||||
# CUDA source files (compiled with cudacc)
|
||||
CUFILES := rarcrypt.cu
|
||||
@@ -22,7 +23,7 @@
|
||||
################################################################################
|
||||
# Rules and targets
|
||||
|
||||
-include ../../common/common.mk
|
||||
+include /opt/cuda/sdk/common/common.mk
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in a new issue