mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-crypt/princeprocessor: EAPI8 bump, fix calling cc directly, bug #722044
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/722044 Closes: https://github.com/gentoo/gentoo/pull/34587 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
committed by
Conrad Kostecki
parent
1be2c77cc4
commit
021a252a94
27
app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild
Normal file
27
app-crypt/princeprocessor/princeprocessor-0.22-r1.ebuild
Normal file
@@ -0,0 +1,27 @@
|
||||
# Copyright 2019-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit edo toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standalone password candidate generator using the PRINCE algorithm"
|
||||
HOMEPAGE="https://github.com/hashcat/princeprocessor"
|
||||
SRC_URI="https://github.com/hashcat/princeprocessor/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
src_compile() {
|
||||
edo $(tc-getCC) -W -Wall -std=c99 ${CFLAGS} ${LDFLAGS} -DLINUX -o ${PN} pp.c mpz_int128.h
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
dodoc ../{README.md,CHANGES}
|
||||
#install rules after hashcat is fixed
|
||||
#insinto /usr/share/hashcat
|
||||
#doins ../rules/*.rules
|
||||
}
|
||||
Reference in New Issue
Block a user