Merge pull request 'feat: add package nasm' (#65) from sisungo/ports:nasm into main

Reviewed-on: #65
This commit was merged in pull request #65.
This commit is contained in:
sisungo committed 2026-11-28 02:35:25 +00:00
commit 3891f33a7e
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"])