mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-02-05 15:04:24 +01:00
cuda-rarcrypt: EAPI bump, fix repo.eapi-banned
This commit is contained in:
parent
68952890c6
commit
53cb650cfd
3 changed files with 21 additions and 18 deletions
|
|
@ -1 +1 @@
|
|||
DIST Cuda-OpenSrc.rar 30751 SHA256 0fceee3e7e521d6e02ddcfcd4756b07ec6bbc728c2ece0eca449d6d6974d3d50
|
||||
DIST Cuda-OpenSrc.rar 30751 BLAKE2B 4be634b762c0325a7128f1b7e0e7aaaa17c78a1e6c9875a335a219c3818e5f6d7171cd3b7e550ed7ede1f8d5de7f5207aa97ccb1cabe08cda89252e5ae384626 SHA512 d4664e652bf2add47c28d688a285392fca0edeb4f449e2659ce1ed67f43575d9e59c89d7198231dc9b2c97576eb877e8bd8124c0fd1b9a32adaffa02249d7323
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A Nvidia GPU-based RAR bruteforcer"
|
||||
HOMEPAGE="http://www.crark.net/"
|
||||
|
|
@ -12,14 +9,14 @@ SRC_URI="http://www.crark.net/Cuda-OpenSrc.rar"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="-*"
|
||||
#was "x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-util/nvidia-cuda-sdk
|
||||
app-arch/unrar"
|
||||
DEPEND="
|
||||
dev-util/nvidia-cuda-sdk
|
||||
app-arch/unrar"
|
||||
|
||||
RDEPEND="x11-drivers/nvidia-drivers"
|
||||
S="${WORKDIR}/"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_setup() {
|
||||
if [ -e "${ROOT}"/opt/cuda/sdk/common/common.mk ]; then
|
||||
|
|
@ -34,21 +31,19 @@ pkg_setup() {
|
|||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/makefile-fixes.patch
|
||||
eapply "${FILESDIR}"/makefile-fixes.patch
|
||||
|
||||
case ${CUDAVERSION} in
|
||||
2.2) epatch "${FILESDIR}"/cuda-sdk-2.2.patch ;;
|
||||
2.3) epatch "${FILESDIR}"/cuda-sdk-2.3.patch ;;
|
||||
3.0) epatch "${FILESDIR}"/cuda-sdk-3.0.patch ;;
|
||||
*) die "Why is CUDAVERSION set to $CUDAVERSION?"
|
||||
esac
|
||||
}
|
||||
esac
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/linux/release/cuda-rarcrypt || die "dobin failed"
|
||||
dobin bin/linux/release/cuda-rarcrypt
|
||||
dodoc readme
|
||||
}
|
||||
|
|
|
|||
8
app-crypt/cuda-rarcrypt/metadata.xml
Normal file
8
app-crypt/cuda-rarcrypt/metadata.xml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
Loading…
Reference in a new issue