mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 23:18:21 +00:00
jinx: gmp, mpc, mpfr, pfetch and libstdc++ ports
This commit is contained in:
+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
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user