dev-libs/zxcvbn-c - 2.7 (bentoo)

Search

Install

Install this version:

emerge -a =dev-libs/zxcvbn-c-2.7

Package Information

Description:
C/C++ version of the zxcvbn password strength estimator
Homepage:
https://github.com/tsyrogit/zxcvbn-c
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.7 8 amd64 ~arm arm64 ~loong ppc64 ~riscv x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="C/C++ version of the zxcvbn password strength estimator"
HOMEPAGE="https://github.com/tsyrogit/zxcvbn-c"
SRC_URI="https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86"

# BENTOO-DIVERGENCE: PATCHES - overlay-only; ::gentoo ships no files/ here at
# all. The patch makes the upstream Makefile install a shared library.
PATCHES=(
	"${FILESDIR}"/${PN}-2.5-makefile-install.patch
)

src_install() {
	emake DESTDIR="${ED}" LIBDIR="/usr/$(get_libdir)" install
	rm "${ED}/usr/$(get_libdir)/libzxcvbn.a" || die
	doheader zxcvbn.h
}

Manifest for 2.7

Type File Size Source URLs
DIST zxcvbn-c-2.7.gh.tar.gz 1405309 bytes https://github.com/tsyrogit/zxcvbn-c/archive/refs/tags/v2.7.tar.gz