dev-libs/ls-hpack: treeclean

Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
This commit is contained in:
Okamura Kazuya
2024-05-05 10:10:15 +09:00
parent 870074b793
commit 425ba54db4
2 changed files with 0 additions and 35 deletions

View File

@@ -1,2 +1 @@
DIST ls-hpack-2.3.0.gh.tar.gz 954741 BLAKE2B d93494c5d3e08c13e496021467b4984400739168916389e72def3f8619ddd056a73b01121453905376ac20935d7f05b8732ace9290345d0558a7ccc1b266d04d SHA512 45866b18042125cbbd008eed2935a938a42e1682030aa52ff4a324ddbad7bf9bd483161352cc8988bae668e132ee8b4b043ddc09d9e0316a66aaefd927ae2d76
DIST ls-hpack-2.3.3.gh.tar.gz 952559 BLAKE2B 18240d2f53524f3db0d18c76dc2ead041f1a3b7a0cff242610e9aab4d335a1b3bcecdc10f887805ae924caf2fb50db5ec53a05cd3ba521402e59d378d185fdfd SHA512 157af5f0bc31f77b18fd806d27a9483c79254c360ee5cc7a16617b86df6a1024a268215a49f459f31ac06fa4c9b03a8c0e6d999bfe6c90548e2fd8ccd3d9b54d

View File

@@ -1,34 +0,0 @@
# Copyright 1999-2024 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-hpack/"
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-disable-overwrites-flags.patch
"${FILESDIR}"/${PN}-disable-tests.patch
)
src_configure() {
local mycmakeargs=(
-DSHARED=$(usex !static-libs 1 0)
)
cmake_src_configure
}
src_install() {
local LIB_TYPE=$(usex static-libs a so)
doheader lshpack.h
dolib.${LIB_TYPE} "${BUILD_DIR}"/libls-hpack.${LIB_TYPE}
einstalldocs
}