1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 21:37:35 +00:00

Ports: Add MPC

Required to build the toolchain inside Serenity.
This commit is contained in:
Luke 2021-07-28 18:38:58 +01:00 committed by Andreas Kling
parent 36af58c187
commit 0a8209ab81
3 changed files with 22 additions and 0 deletions

11
Ports/mpc/package.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=mpc
version=1.2.1
useconfigure=true
configopts="--target=${SERENITY_ARCH}-pc-serenity --with-sysroot=/"
files="https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz mpc-${version}.tar.gz
https://ftpmirror.gnu.org/gnu/mpc/mpc-${version}.tar.gz.sig mpc-${version}.tar.gz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg mpc-${version}.tar.gz.sig"
depends="gmp mpfr"