name = "limine" version = "12.2.0" revision = 1 description = "Modern, secure, portable, multiprotocol bootloader and boot manager" license = "BSD-2-Clause" source = { "url": f"https://github.com/Limine-Bootloader/Limine/releases/download/v{version}/limine-{version}.tar.gz", "sha256": "db8a119878cfeead63c0a78236c577c40539c5759496950ea0ed32a6cf567865", "strip_components": 1, } host_deps = ["binutils", "gcc"] deps = [OPTIONS.libc] def configure(ctx): toolchain = OPTIONS.target_triple + "-" autotools_configure(ctx, extra_env = { "TOOLCHAIN_FOR_TARGET": toolchain, "LD_FOR_TARGET": toolchain + "ld", "OBJCOPY_FOR_TARGET": toolchain + "objcopy", "OBJDUMP_FOR_TARGET": toolchain + "objdump", }) _, build, install = autotools()