Merge pull request 'feat: add package limine, mtools' (#64) from sisungo/ports:limine into main

Reviewed-on: #64
This commit was merged in pull request #64.
This commit is contained in:
sisungo committed 2026-11-28 03:31:10 +00:00
commit b497eb9a6f
2 files changed
+67

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
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)
+33
View File
@@ -0,0 +1,33 @@
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")
builddep("semios-charset-cp850 @target")
builddep("semios-charset-wchar-t @target")
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-t @same-arch")
on_pack(pack)