Merge pull request #89 from stikonas/gmp

GMP 6.2.1
This commit is contained in:
Andrius Štikonas 2021-04-04 10:49:43 +01:00 committed by GitHub
commit 22be44b0b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 0 deletions

View File

@ -33,6 +33,7 @@ bc79b890f35ca38d66ff89a6e3758226131e51ccbd10ef78d5ff150b7bd73689 flex-2.5.11.ta
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz 5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2 e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar 4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2 9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2

View File

@ -594,3 +594,12 @@ automake 1.15.1
=============== ===============
GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6. GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6.
gmp 6.2.1
=========
GNU Multiple Precision Arithmetic Library (GMP) is a free library for
arbitrary-precision arithmetic, operating on signed integers, rational numbers,
and floating-point numbers.
GMP is required by newer versions of GCC and Guile.

View File

@ -297,6 +297,9 @@ get_file https://ftp.gnu.org/gnu/automake/automake-1.13.4.tar.xz
# automake 1.15.1 # automake 1.15.1
get_file https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz get_file https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz
# gmp 6.2.1
get_file https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz
# General cleanup # General cleanup
find tmp -name .git -exec rm -rf \; find tmp -name .git -exec rm -rf \;

3
sysa/gmp-6.2.1/checksums Normal file
View File

@ -0,0 +1,3 @@
bfaced23588bc183f34364896cdfbf63cf63418f577a7cd1b2964753445621a7 /after/lib/musl/libgmp.a
86607fe734f726f40fe3cc50038a3f15ec5bb9c6c05288b3536d5419dab60487 /after/lib/musl/libgmp.la
89c9be645cd64ed5ed835460ad6305c945227c8e53f631dde96808d5cba3e4b7 /after/lib/musl/libgmp.so.10.4.1

21
sysa/gmp-6.2.1/gmp-6.2.1.sh Executable file
View File

@ -0,0 +1,21 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
# Remove bison and flex generated files
rm demos/calc/calc.{c,h} demos/calc/calclex.c
autoreconf -f -i
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl"
}

View File

@ -22,6 +22,8 @@ build automake-1.13.4
build automake-1.15.1 build automake-1.15.1
build gmp-6.2.1
echo "Bootstrapping completed." echo "Bootstrapping completed."
exec env - PATH=/after/bin PS1="\w # " bash -i exec env - PATH=/after/bin PS1="\w # " bash -i