app-crypt/libscrypt - 1.22 (gentoo)

Search

Install

Install this version:

emerge -a =app-crypt/libscrypt-1.22

Package Information

Description:
Shared library to implement the scrypt algorithm
Homepage:
https://github.com/technion/libscrypt
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
1.22 8 amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Shared library to implement 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"

PATCHES=(
	"${FILESDIR}"/${PN}-1.22-no-clobber-fortify-source.patch
	"${FILESDIR}"/${PN}-1.22-aliasing.patch
)

src_prepare() {
	sed -i -e "s|ar rcs|$(tc-getAR) rcs|g" Makefile || die
	default
}

src_configure() {
	export PREFIX="${EPREFIX}"/usr
	export LIBDIR=${PREFIX}/$(get_libdir)
	export CFLAGS_EXTRA="${CFLAGS}"
	export LDFLAGS_EXTRA="${LDFLAGS}"
	unset CFLAGS
	unset LDFLAGS
}

src_compile() {
	emake CC="$(tc-getCC)"
}

Inherited Eclasses

Manifest for 1.22

Type File Size Source URLs
DIST libscrypt-1.22.tar.gz 19495 bytes https://github.com/technion/libscrypt/archive/v1.22.tar.gz