mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
jinx: binutils and nasm port
This commit is contained in:
@@ -0,0 +1,26 @@
|
|||||||
|
name=binutils
|
||||||
|
revision=1
|
||||||
|
from_source=binutils-cross
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="gcc-cross binutils-cross automake autoconf"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
|
||||||
|
|
||||||
|
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --disable-werror
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
|
||||||
|
make -j${parallelism}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
name=nasm
|
||||||
|
revision=1
|
||||||
|
from_source=nasm
|
||||||
|
imagedeps="base-devel"
|
||||||
|
hostdeps="gcc-cross binutils-cross"
|
||||||
|
deps="mlibc"
|
||||||
|
|
||||||
|
|
||||||
|
configure() {
|
||||||
|
|
||||||
|
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
|
||||||
|
make -j${parallelism}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
|
||||||
|
make install DESTDIR="${dest_dir}"
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user