GMP 6.2.1

This commit is contained in:
Andrius Štikonas 2021-04-03 18:40:48 +01:00
parent 2af0e400d2
commit f5b914bb9f
6 changed files with 39 additions and 0 deletions

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"
}