mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
Co-authored-by: Joachim Mairböck <j.mairboeck@gmail.com> Co-authored-by: Schrijvers Luc <begasus@gmail.com>
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
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
|
|
}
|
|
|