feat: add package nasm

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-11-19 13:49:22 +00:00
1 parent e724681edc
commit 7c22973e81
1 file changed
+28
+28
View File
@@ -0,0 +1,28 @@
from lib.make import *
from lib import cpp
version("3.2")
description("The Netwide Assembler")
maintainer("sisungo <[email protected]>")
source_url("https://www.nasm.us/pub/nasm/releasebuilds/3.02/nasm-3.02.tar.gz")
builddep("shortcut/c")
builddep("shortcut/autotools")
builddep("libz-dev @target")
def build():
cpp.configure([
f"--prefix={get_prefix('nasm')}",
])
cpp.make()
cpp.make_install()
on_build(build)
package("nasm")
dep("semi-libc @same-arch")
dep("libz @same-arch")
cpp.use_auto_pack(["bin"])