mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: gmp mpc mpfr gcc
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
name=gcc
|
||||
revision=1
|
||||
from_source=gcc
|
||||
imagedeps="base-devel"
|
||||
hostrundeps="automake autoconf xgcc xbinutils libstdc++-v3"
|
||||
deps="mlibc gmp mpfr mpc"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --host=x86_64-astral --target=x86_64-astral --prefix=${prefix} --enable-languages=c,c++ --with-sysroot=/ --with-build-sysroot=${sysroot_dir}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism} all-gcc all-target-libgcc all-target-libstdc++-v3
|
||||
}
|
||||
|
||||
install() {
|
||||
make install-gcc install-target-libgcc install-target-libstdc++-v3 DESTDIR="${dest_dir}"
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
name=gmp
|
||||
revision=1
|
||||
from_source=gmp
|
||||
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}"
|
||||
}
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
name=mpc
|
||||
revision=1
|
||||
from_source=mpc
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils"
|
||||
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,19 @@
|
||||
name=mpfr
|
||||
revision=1
|
||||
from_source=mpfr
|
||||
imagedeps="base-devel"
|
||||
hostdeps="xgcc xbinutils"
|
||||
deps="mlibc gmp"
|
||||
|
||||
configure() {
|
||||
cp -pr ${source_dir}/* .
|
||||
./configure --host=x86_64-astral --prefix=${prefix}
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
install() {
|
||||
make install DESTDIR="${dest_dir}"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=gmp
|
||||
version=6.2.1
|
||||
source_method=tarball
|
||||
tarball_url="https://gmplib.org/download/gmp/gmp-${version}.tar.xz"
|
||||
tarball_sha512=c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
|
||||
regenerate() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=mpc
|
||||
version=1.2.1
|
||||
source_method=tarball
|
||||
tarball_url="https://ftp.gnu.org/gnu/mpc/mpc-${version}.tar.gz"
|
||||
tarball_sha512=3279f813ab37f47fdcc800e4ac5f306417d07f539593ca715876e43e04896e1d5bceccfb288ef2908a3f24b760747d0dbd0392a24b9b341bc3e12082e5c836ee
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
|
||||
regenerate() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=mpfr
|
||||
version=4.1.0
|
||||
source_method=tarball
|
||||
tarball_url="https://www.mpfr.org/mpfr-4.1.0/mpfr-${version}.tar.xz"
|
||||
tarball_sha512=1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273
|
||||
hostdeps="autoconf automake libtool pkgconfig autoconf-archive"
|
||||
|
||||
regenerate() {
|
||||
autoreconf -vfi
|
||||
}
|
||||
Reference in New Issue
Block a user