dev-libs/ls-qpack: new package, add 2.5.0

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

View File

@@ -0,0 +1 @@
DIST ls-qpack-2.5.0.tar.gz 708076 BLAKE2B dea75220c8c905bfe6ca2d52150eb9d69c656f01941f13dade45592e88f8456c7b3be81ca4bd403de84cfd3ba6c97b1bcb419b4be08c5954a11c11f9834c2530 SHA512 66ff577994d448c7f6745b0cb6984a705c6180e3ccf1795e207ed1827288938a819fe31827cfc911fb5fecf5b731cf4671dd26b6a6f08ee5582e84730d4211cc

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="QPACK compression library for use with HTTP/3"
HOMEPAGE="https://github.com/litespeedtech/ls-qpack/"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static-libs"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=$(usex !static-libs)
)
cmake_src_configure
}
src_install() {
mkdir -p ${D}/usr/include/
mkdir -p ${D}/usr/lib64/
cp ${S}_build/libls* ${D}/usr/lib64/
cp ${S}/lsxpack_header.h ${D}/usr/include/
cp ${S}/lsqpack.h ${D}/usr/include/
einstalldocs
}

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/ls-qpack</remote-id>
</upstream>
</pkgmetadata>