mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Add initial lsp-framework recipe (#13932)
Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com> Co-authored-by: Schrijvers Luc <begasus@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fe1a18df22
commit
828dadf217
49
dev-libs/lsp-framework/lsp_framework-1.3.1.recipe
Normal file
49
dev-libs/lsp-framework/lsp_framework-1.3.1.recipe
Normal file
@@ -0,0 +1,49 @@
|
||||
SUMMARY="Language Server Protocol implementation in C++"
|
||||
DESCRIPTION="This is an implementation of the Language Server Protocol in C++. \
|
||||
It can be used to implement both servers and clients that communicate using the LSP."
|
||||
HOMEPAGE="https://github.com/leon-bckl/lsp-framework/"
|
||||
COPYRIGHT="2025 Leon Buckel."
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/leon-bckl/lsp-framework/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="f5c53e85c407d3773c7b917f4cab777da12d4059a5aeb2dbc3ec656fa7842569"
|
||||
SOURCE_FILENAME="lsp_framework-$portVersion.tar.gz"
|
||||
SOURCE_DIR="lsp-framework-$portVersion"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86 "
|
||||
|
||||
PROVIDES="
|
||||
lsp_framework$secondaryArchSuffix = $portVersion
|
||||
devel:liblsp$secondaryArchSuffix
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cmake -B build -S . \
|
||||
$cmakeDirArgs \
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
|
||||
cmake --build build --parallel
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cmake --install build
|
||||
|
||||
prepareInstalledDevelLib \
|
||||
liblsp
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user