guru/dev-libs/lsbcrypt/lsbcrypt-1.0.0.ebuild
Okamura Kazuya e01c54343b
dev-libs/lsbcrypt: new package, add 1.0.0
Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
2023-06-28 00:27:33 +09:00

38 lines
599 B
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="libcrypt Wrapper for LiteSpeedTech"
HOMEPAGE="https://github.com/litespeedtech/libbcrypt/"
EGIT_REPO_URI="https://github.com/litespeedtech/libbcrypt/"
LICENSE="CC0-1.0"
SLOT="0"
KEYWORDS="~amd64"
src_prepare() {
eapply_user
}
src_configure() {
true
}
src_compile() {
make
}
src_install() {
true
}
pkg_preinst() {
mkdir -p ${D}/usr/lib/
mkdir -p ${D}/usr/include/
cp -a ${S}/bcrypt.h ${D}/usr/include/
cp -a ${S}/bcrypt.a ${D}/usr/lib/
}