limine: add port (#11036)

This commit is contained in:
Alexander Richards
2024-10-07 09:12:39 +02:00
committed by GitHub
parent 16b72cf4f6
commit 61ab25fa51

View File

@@ -0,0 +1,50 @@
SUMMARY="The limine bootloader"
DESCRIPTION=" Limine is an advanced, portable, multiprotocol bootloader that supports Linux, \
multiboot1 and 2, the native Limine boot protocol, and more. "
HOMEPAGE="https://limine-bootloader.org/"
SOURCE_URI="https://github.com/limine-bootloader/limine/releases/download/v$portVersion/limine-$portVersion.tar.xz"
REVISION="1"
LICENSE="BSD (2-clause)"
COPYRIGHT="2019-2024 mintsuki and contributors"
CHECKSUM_SHA256="06da0092241575700e573fdd8241b61a52213036e3b5e0c9e1d2ae7baf2bbd85"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
limine$secondaryArchSuffix = $portVersion
cmd:limine$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:awk
cmd:clang >= 18
cmd:gcc$secondaryArchSuffix # needed for clang
cmd:lld >= 18
cmd:llvm_objcopy
cmd:make
cmd:mtools
cmd:nasm
"
BUILD()
{
runConfigure ./configure \
--enable-all \
--disable-uefi-loongarch64 \
TOOLCHAIN_FOR_TARGET=llvm
make $jobArgs
}
INSTALL()
{
make install
}