dev-libs/lsbcrypt: new package, add 1.0.0

Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
This commit is contained in:
Okamura Kazuya
2023-06-28 00:27:33 +09:00
parent 5d986a48ef
commit e01c54343b
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# 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/
}

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-guru@danceylove.net</email>
<name>Okamura Kazuya</name>
</maintainer>
<upstream>
<remote-id type="github">litespeedtech/libbcrypt</remote-id>
</upstream>
</pkgmetadata>