mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-19 15:59:00 -04:00
Manually went through some entries for `pkgcheck scan -c VariableOrderCheck`. Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
33 lines
715 B
Bash
33 lines
715 B
Bash
# Copyright 1999-2023 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
COMMIT="55ff64349dec3012cfbbb1c4f92d4dbd46920213"
|
|
|
|
DESCRIPTION="libcrypt wrapper for LiteSpeedTech"
|
|
HOMEPAGE="https://github.com/litespeedtech/libbcrypt/"
|
|
SRC_URI="https://github.com/litespeedtech/libbcrypt/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
|
|
|
S="${WORKDIR}/libbcrypt-${COMMIT}"
|
|
|
|
LICENSE="CC0-1.0 public-domain"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PV}-fix-tests.patch
|
|
"${FILESDIR}"/${PV}-fix-flags-directly.patch
|
|
)
|
|
|
|
src_test() {
|
|
default
|
|
./bcrypt_test || die "Tests failed!"
|
|
}
|
|
|
|
src_install() {
|
|
newlib.a bcrypt.a libbcrypt.a
|
|
newheader bcrypt.h libbcrypt.h
|
|
einstalldocs
|
|
}
|