dev-libs/zxcvbn-c - 2.6-r1 (bentoo)

Search

Install

Install this version:

emerge -a =dev-libs/zxcvbn-c-2.6-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-libs/zxcvbn-c-2.6-r1

Or alternatively:

emerge --autounmask-write -a =dev-libs/zxcvbn-c-2.6-r1

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.6-r1 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"

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
}