feat: add package limine, mtools #64
No files matched your search
@@ -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)
|
||||
@@ -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)
|
||||
Reference in new issue
Block a user