35 lines
786 B
Python
35 lines
786 B
Python
from lib.make import *
|
|
from lib import cpp
|
|
|
|
|
|
version("12.10.0")
|
|
description("an advanced, portable, multiprotocol boot loader originally developed as the reference implementation for the Limine boot protocol")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_url("https://github.com/Limine-Bootloader/Limine/releases/download/v12.10.0/limine-12.10.0.tar.xz")
|
|
|
|
builddep("shortcut/c")
|
|
builddep("shortcut/autotools")
|
|
builddep("mtools")
|
|
builddep("nasm")
|
|
|
|
|
|
def build():
|
|
cpp.configure([
|
|
f"--prefix={get_prefix('limine')}",
|
|
"--enable-all",
|
|
])
|
|
cpp.make()
|
|
cpp.make_install()
|
|
|
|
on_build(build)
|
|
|
|
|
|
def pack(composer):
|
|
composer.add("bin")
|
|
composer.makedir("share")
|
|
composer.add("share/limine")
|
|
|
|
package("limine")
|
|
dep("semi-libc @same-arch")
|
|
on_pack(pack)
|