ports: nasm port

This commit is contained in:
Matheus
2023-06-27 20:44:46 -03:00
parent 365238e835
commit ad8f3fe3ed
3 changed files with 39 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
diff -ruN nasm-2.15.05/autoconf/helpers/config.sub nasm/autoconf/helpers/config.sub
--- nasm-2.15.05/autoconf/helpers/config.sub 2020-08-28 13:04:07.000000000 -0300
+++ nasm/autoconf/helpers/config.sub 2022-09-27 10:03:57.846657324 -0300
@@ -1360,7 +1360,7 @@
| powermax* | dnix* | nx6 | nx7 | sei* | dragonfly* \
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
- | midnightbsd*)
+ | midnightbsd* | astral*)
# Remember, each alternative MUST END IN *, to match a version number.
;;
qnx*)
+18
View File
@@ -0,0 +1,18 @@
name=nasm
revision=1
from_source=nasm
imagedeps="base-devel"
hostdeps="xgcc xbinutils"
deps="mlibc"
configure() {
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
}
build() {
make -j${parallelism}
}
install() {
make install DESTDIR="${dest_dir}"
}
+9
View File
@@ -0,0 +1,9 @@
name=nasm
version=2.15.05
source_method=tarball
tarball_url="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.xz"
tarball_sha512=512f90a2584f1c5811429274b97c64a2cedf37b9fdeffb1bcd0ea64afd9ecc19a2d7877ca8f1e05393aa324153fc9f39ea51dacbf8d25a7d5a2d7728c925dba7
regenerate() {
true
}