diff --git a/patches/nasm/jinx-working-patch.patch b/patches/nasm/jinx-working-patch.patch new file mode 100644 index 00000000..80e1dbf5 --- /dev/null +++ b/patches/nasm/jinx-working-patch.patch @@ -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*) diff --git a/recipes/nasm b/recipes/nasm new file mode 100644 index 00000000..30b45e72 --- /dev/null +++ b/recipes/nasm @@ -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}" +} diff --git a/source-recipes/nasm b/source-recipes/nasm new file mode 100644 index 00000000..6ef90658 --- /dev/null +++ b/source-recipes/nasm @@ -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 +}