app-crypt/argon2: Sync with Gentoo

It's from Gentoo commit 0799e46d245a76cf43dc36b3fa1dcb864519a37f.
This commit is contained in:
Krzesimir Nowak 2023-12-07 16:31:36 +01:00
parent 146a757026
commit d17611cd09
2 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -11,7 +11,7 @@ SRC_URI="https://github.com/P-H-C/phc-winner-argon2/archive/${PV}.tar.gz -> ${P}
LICENSE="|| ( Apache-2.0 CC0-1.0 )"
SLOT="0/1"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
IUSE="static-libs"
S="${WORKDIR}/phc-winner-${P}"
@ -44,7 +44,7 @@ src_prepare() {
}
src_compile() {
emake OPTTEST="${OPTTEST}" LIBRARY_REL="$(get_libdir)" \
emake OPTTEST="${OPTTEST}" LIBRARY_REL="$(get_libdir)" PREFIX="${EPREFIX}/usr" \
ARGON2_VERSION="0~${PV}"
}

View File

@ -17,6 +17,7 @@
<subslots>Reflect ABI of libargon2.so.</subslots>
</slots>
<upstream>
<remote-id type="cpe">cpe:/a:argon2_project:argon2</remote-id>
<remote-id type="github">P-H-C/phc-winner-argon2</remote-id>
</upstream>
</pkgmetadata>