feat: add package limine, mtools

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-11-19 13:48:53 +00:00
1 parent e724681edc
commit eeaaf6174c
2 files changed
+60

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
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)
package("limine")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["bin"])
+31
View File
@@ -0,0 +1,31 @@
from lib.make import *
from lib import cpp
version("4.0.50")
description("tools for reading and writing FAT filesystems")
maintainer("sisungo <[email protected]>")
source_url("https://ftp.gnu.org/gnu/mtools/mtools-4.0.50.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
def build():
cpp.configure([
f"--prefix={get_prefix('mtools')}",
])
cpp.make()
cpp.make_install()
on_build(build)
def pack(composer):
composer.add("bin")
package("mtools")
dep("semi-libc @same-arch")
dep("semios-charset-cp850 @same-arch")
dep("semios-charset-wchar @same-arch")
on_pack(pack)