mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
jinx: gmp, mpc, mpfr, pfetch and libstdc++ ports
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name=libstdc++-v3
|
||||
revision=1
|
||||
from_source=gcc-cross
|
||||
imagedeps="base-devel"
|
||||
hostdeps="automake autoconf binutils-cross gcc-cross"
|
||||
deps="mlibc"
|
||||
|
||||
configure() {
|
||||
|
||||
true
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${base_dir}/host-builds/gcc-cross
|
||||
make all-target-libstdc++-v3 -j7
|
||||
|
||||
}
|
||||
|
||||
install(){
|
||||
cd ${base_dir}/host-builds/gcc-cross
|
||||
make DESTDIR="${dest_dir}" install-target-libstdc++-v3
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ruN gmp-workdir/configfsf.sub gmp/configfsf.sub
|
||||
--- gmp-workdir/configfsf.sub 2022-10-10 16:39:29.213128211 -0300
|
||||
+++ gmp/configfsf.sub 2022-10-10 16:41:00.269794143 -0300
|
||||
@@ -1690,7 +1690,7 @@
|
||||
# Now accept the basic system types.
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
- gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ gnu* | android* | astral* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ruN mpc-workdir/build-aux/config.sub mpc/build-aux/config.sub
|
||||
--- mpc-workdir/build-aux/config.sub 2022-10-10 16:41:29.463127241 -0300
|
||||
+++ mpc/build-aux/config.sub 2022-10-10 16:42:52.139793243 -0300
|
||||
@@ -1338,7 +1338,7 @@
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
# sysv* is not here because it comes later, after sysvr4.
|
||||
- gnu* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ gnu* | astral* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | kopensolaris* | plan9* \
|
||||
@@ -0,0 +1,12 @@
|
||||
diff -ruN mpfr-workdir/config.sub mpfr/config.sub
|
||||
--- mpfr-workdir/config.sub 2022-10-10 16:44:45.379792331 -0300
|
||||
+++ mpfr/config.sub 2022-10-10 16:45:13.056458775 -0300
|
||||
@@ -1363,7 +1363,7 @@
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
# -sysv* is not here because it comes later, after sysvr4.
|
||||
- -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
+ -gnu* | -astral* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
|
||||
| -sym* | -kopensolaris* | -plan9* \
|
||||
@@ -0,0 +1,26 @@
|
||||
diff -ruN pfetch-workdir/pfetch pfetch/pfetch
|
||||
--- pfetch-workdir/pfetch 2022-10-10 17:04:55.933115927 -0300
|
||||
+++ pfetch/pfetch 2022-10-10 17:09:10.889780542 -0300
|
||||
@@ -956,9 +956,9 @@
|
||||
# allows indentation to continue naturally despite
|
||||
# the use of '<<-EOF'.
|
||||
case ${1:-${PF_ASCII:-${distro:-$os}}} in
|
||||
- ([Aa]stral*)
|
||||
+ ([Aa]stral*)
|
||||
read_ascii 2 <<-EOF
|
||||
- ${c7} .::.
|
||||
+ ${c7} .::.
|
||||
.:' .:
|
||||
* ${c4}MMM8&&${c7}.::' .:'
|
||||
${c4}MMMM${c7}.::'${c4}&&${c7} .:'
|
||||
@@ -970,8 +970,8 @@
|
||||
${c7}:' .:'
|
||||
${c7}'::' *
|
||||
|
||||
- EOF
|
||||
-
|
||||
+EOF
|
||||
+ ;;
|
||||
[Aa]lpine*)
|
||||
read_ascii 4 <<-EOF
|
||||
${c4} /\\ /\\
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
name=gmp
|
||||
revision=1
|
||||
from_source=gmp
|
||||
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}"
|
||||
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
name=mpc
|
||||
revision=1
|
||||
from_source=mpc
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc gmp mpfr"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
name=mpfr
|
||||
revision=1
|
||||
from_source=mpfr
|
||||
imagedeps="base-devel"
|
||||
hostdeps="gcc-cross binutils-cross"
|
||||
deps="mlibc gmp"
|
||||
|
||||
|
||||
configure() {
|
||||
|
||||
${source_dir}/configure --host=x86_64-astral --prefix=${prefix}
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
make -j${parallelism}
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
make install DESTDIR="${dest_dir}"
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
name=pfetch
|
||||
revision=1
|
||||
from_source=pfetch
|
||||
|
||||
configure() {
|
||||
|
||||
true
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
|
||||
true
|
||||
|
||||
}
|
||||
|
||||
install() {
|
||||
|
||||
mkdir -p ${dest_dir}/${prefix}/bin
|
||||
cp ${source_dir}/pfetch ${dest_dir}/${prefix}/bin/pfetch
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=gmp
|
||||
version=6.2.1
|
||||
source_method=tarball
|
||||
tarball_url="https://gmplib.org/download/gmp/gmp-${version}.tar.xz"
|
||||
tarball_sha512=c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=mpc
|
||||
version=1.2.1
|
||||
source_method=tarball
|
||||
tarball_url="https://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.gz"
|
||||
tarball_sha512=3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=mpfr
|
||||
version=4.1.0
|
||||
source_method=tarball
|
||||
tarball_url="https://www.mpfr.org/mpfr-current/mpfr-${version}.tar.xz"
|
||||
tarball_sha512=1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
name=pfetch
|
||||
version=0.6.0
|
||||
source_method=tarball
|
||||
tarball_url="https://github.com/dylanaraps/pfetch/archive/refs/tags/${version}.tar.gz"
|
||||
tarball_sha512=868901bec6ae8999ad40fcb94bdf804969a3dfd724dc554d62f59982daf48d359094764b2e45d4816983d4f46e38de30f0bcb646ecd95bf3263ba128b87a1ddf
|
||||
regenerate() {
|
||||
true
|
||||
}
|
||||
Reference in New Issue
Block a user