commit:     9e3fac0806762402ae7bb39c4648b7d05ae6de9e
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 12:13:02 2022 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat May 14 12:13:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3fac08

app-crypt/libscrypt: version bump to 1.22

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 app-crypt/libscrypt/Manifest              |  1 +
 app-crypt/libscrypt/libscrypt-1.22.ebuild | 32 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/app-crypt/libscrypt/Manifest b/app-crypt/libscrypt/Manifest
index 7540edc0a3af..8379e4de8958 100644
--- a/app-crypt/libscrypt/Manifest
+++ b/app-crypt/libscrypt/Manifest
@@ -1 +1,2 @@
 DIST libscrypt-1.21.tar.gz 19425 BLAKE2B 
4f9f21c6ba36bad005d95203d1d2c206f50200973233670c4819fe2cc32de6941cc100360ba1683453fc7abcb0e0e024e32417beec06d5b43cbda56bfa89be5a
 SHA512 
0f894bc2f47016cdd043ea692a4e4b08891b1a961443265230d5ccb76820d40e50b0d4d63588c44c985cd24e214f07b126d30989d3ce4cd79366f3b8f16c4d34
+DIST libscrypt-1.22.tar.gz 19495 BLAKE2B 
2c04b91dc48e807223a3433739deb31186efc1b4066cb57e3db835b68de4d08b9586d0a686d5f0f4c119582e82823fbf0556944c190d586664cc4d6f014ad5ab
 SHA512 
3c01fd76441bdf7c90fa17534bfdda9e279469676359172eda7f7683ca65a7aae576a87d07125ce38598ef3fd2755547d53417132b9159a2b211898f70c80f51

diff --git a/app-crypt/libscrypt/libscrypt-1.22.ebuild 
b/app-crypt/libscrypt/libscrypt-1.22.ebuild
new file mode 100644
index 000000000000..5bf0045f6883
--- /dev/null
+++ b/app-crypt/libscrypt/libscrypt-1.22.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Shared library to impliment the scrypt algorithm"
+HOMEPAGE="https://github.com/technion/libscrypt";
+SRC_URI="https://github.com/technion/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       export LIBDIR=${PREFIX}/$(get_libdir)
+       export CFLAGS_EXTRA="${CFLAGS}"
+       export LDFLAGS_EXTRA="${LDFLAGS}"
+       export PREFIX=/usr
+       unset CFLAGS
+       unset LDFLAGS
+}
+
+src_compile() {
+       emake \
+               CC="$(tc-getCC)"
+}

Reply via email to