mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
jinx: add missing host-recipes
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
name=autoconf
|
||||
revision=1
|
||||
from_source=autoconf
|
||||
imagedeps="gcc"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix="${prefix}"
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
name=autoconf-archive
|
||||
revision=1
|
||||
from_source=autoconf-archive
|
||||
imagedeps="gcc"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
name=automake
|
||||
revision=1
|
||||
from_source=automake
|
||||
imagedeps="gcc"
|
||||
hostdeps="autoconf"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
DESTDIR="${dest_dir}" make install
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
name=libstdc++-v3
|
||||
revision=1
|
||||
from_source=gcc
|
||||
imagedeps="base-devel"
|
||||
hostdeps="automake autoconf xbinutils xgcc"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
true
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${base_dir}/host-builds/xgcc
|
||||
make all-target-libstdc++-v3 -j7
|
||||
}
|
||||
|
||||
install(){
|
||||
cd ${base_dir}/host-builds/xgcc
|
||||
make DESTDIR="${dest_dir}" install-target-libstdc++-v3
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
name=libtool
|
||||
revision=1
|
||||
from_source=libtool
|
||||
hostdeps="autoconf automake"
|
||||
imagedeps="gcc help2man"
|
||||
|
||||
|
||||
configure() {
|
||||
cp -pr ${source_dir}/* .
|
||||
./configure --prefix=${prefix}
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
name=limine
|
||||
from_source=limine
|
||||
revision=1
|
||||
imagedeps="base-devel mtools nasm"
|
||||
|
||||
configure() {
|
||||
# check here for target in order to build aarch64 targets if ever ported
|
||||
"${source_dir}/configure" --enable-bios-cd --enable-bios-pxe --enable-bios --enable-uefi-ia32 --enable-uefi-x86-64 --enable-uefi-cd --prefix="${prefix}"
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR=${dest_dir}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
name=pkgconfig
|
||||
revision=1
|
||||
from_source=pkgconfig
|
||||
imagedeps="gcc base-devel"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
mkdir -p ${dest_dir}${prefix}/share/pkgconfig/personality.d
|
||||
|
||||
cat > ${dest_dir}${prefix}/share/pkgconfig/personality.d/x86_64-astral.personality << EOF
|
||||
Triplet: x86_64-astral
|
||||
SysrootDir: ${sysroot_dir}
|
||||
DefaultSearchPaths: ${sysroot_dir}/usr/lib/pkgconfig:${sysroot_dir}/usr/share/pkgconfig
|
||||
SystemIncludePaths: ${sysroot_dir}/usr/include
|
||||
SystemLibraryPaths: ${sysroot_dir}/usr/lib
|
||||
EOF
|
||||
|
||||
ln -s pkgconf ${dest_dir}${prefix}/bin/x86_64-astral-pkg-config
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
name=xbinutils
|
||||
revision=1
|
||||
from_source=binutils
|
||||
imagedeps="base-devel gcc"
|
||||
hostdeps="automake autoconf"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --disable-werror
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=xgcc
|
||||
revision=1
|
||||
from_source=gcc
|
||||
imagedeps="base-devel"
|
||||
hostdeps="automake autoconf xbinutils pkgconfig"
|
||||
deps="mlibc-headers"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --target=x86_64-astral --prefix=${prefix} --with-sysroot=${sysroot_dir} --enable-languages=c,c++ -enable-threads=posix --disable-multilib
|
||||
}
|
||||
|
||||
build() {
|
||||
make all-gcc all-target-libgcc -j ${parallelism}
|
||||
}
|
||||
|
||||
install(){
|
||||
make DESTDIR="${dest_dir}" install-gcc install-target-libgcc
|
||||
}
|
||||
Reference in New Issue
Block a user