Ports: Add MPC
Required to build the toolchain inside Serenity.
This commit is contained in:
parent
36af58c187
commit
0a8209ab81
Notes:
sideshowbarker
2024-07-18 07:58:32 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/0a8209ab814 Pull-request: https://github.com/SerenityOS/serenity/pull/9076
3 changed files with 22 additions and 0 deletions
|
@ -92,6 +92,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`mawk`](mawk/) | mawk | 1.3.4-20200120 | https://invisible-island.net/mawk/ |
|
||||
| [`mbedtls`](mbedtls/) | Mbed TLS | 2.16.2 | https://tls.mbed.org/ |
|
||||
| [`milkytracker`](milkytracker/) | milkytracker | 1.03.00 | https://github.com/milkytracker/MilkyTracker |
|
||||
| [`mpc`](mpc/) | GNU Multiple Precision Complex Library (MPC) | 1.2.1 | http://www.multiprecision.org/mpc/ |
|
||||
| [`mpfr`](mpfr/) | GNU Multiple Precision Floating-Point Reliable Library (MPFR) | 4.1.0 | https://www.mpfr.org/ |
|
||||
| [`mrsh`](mrsh/) | mrsh | d9763a3 | https://mrsh.sh/ |
|
||||
| [`mysthous`](mysthous/) | Hi-Res Adventure #1: Mystery House | 1.0 | https://www.scummvm.org/games/#games-hires1 |
|
||||
|
|
11
Ports/mpc/package.sh
Executable file
11
Ports/mpc/package.sh
Executable 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"
|
10
Ports/mpc/patches/config.sub.patch
Normal file
10
Ports/mpc/patches/config.sub.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- mpc-1.2.1/build-aux/config.sub 2020-10-20 17:26:31.000000000 +0100
|
||||
+++ mpc-1.2.1.serenity/build-aux/config.sub 2021-07-28 18:13:47.269493423 +0100
|
||||
@@ -1339,6 +1339,7 @@
|
||||
# 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* \
|
||||
+ | serenity* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]*\
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | kopensolaris* | plan9* \
|
Loading…
Add table
Reference in a new issue