mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
dev-libs/ls-hpack: fix EbuildUnquotedVariablesCheck
Use simpler query and install functions Add suffix to GitHub-generated archive Bump copyright Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
@@ -7,7 +7,7 @@ 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}.tar.gz"
|
||||
SRC_URI="https://github.com/litespeedtech/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
@@ -27,12 +27,8 @@ src_configure() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp ${S}_build/libls-hpack.* ${S} || die
|
||||
newheader lshpack.h lshpack.h
|
||||
if [[ $(usex static-libs) == "yes" ]] ; then
|
||||
newlib.a libls-hpack.a libls-hpack.a
|
||||
else
|
||||
newlib.so libls-hpack.so libls-hpack.so
|
||||
fi
|
||||
local LIB_TYPE=$(usex static-libs a so)
|
||||
doheader lshpack.h
|
||||
dolib.${LIB_TYPE} "${BUILD_DIR}"/libls-hpack.${LIB_TYPE}
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user