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

Ports: Add GNU Multiple Precision Arithmetic Library (GMP)

This commit is contained in:
Brendan Coles 2021-04-08 07:11:06 +00:00 committed by Andreas Kling
parent 57749b175c
commit 6c3e0cc98a
3 changed files with 20 additions and 0 deletions

9
Ports/gmp/package.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=gmp
version=6.2.1
useconfigure="true"
files="https://ftp.gnu.org/gnu/gmp/gmp-${version}.tar.bz2 gmp-${version}.tar.bz2
https://ftp.gnu.org/gnu/gmp/gmp-${version}.tar.bz2.sig gmp-${version}.tar.bz2.sig
https://ftp.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg gmp-${version}.tar.bz2.sig"

View file

@ -0,0 +1,10 @@
--- gmp-6.2.1/configfsf.sub 2021-04-07 22:50:17.785886997 -0700
+++ gmp-6.2.1/configfsf.sub.new 2021-04-07 22:50:15.041883314 -0700
@@ -1691,6 +1691,7 @@
# The portable systems comes first.
# Each alternative MUST end in a * to match a version number.
gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
+ | serenity* \
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \