live-bootstrap/sysc/gmp-6.2.1/gmp-6.2.1.sh
fosslinux 8008de8e73 Add file downloading logic
Add urls to sysc, and modify some tarballs to http (non s) before ssl
2022-06-10 13:30:58 +10:00

33 lines
673 B
Bash
Executable file

# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
urls="http://mirrors.kernel.org/gnu/gmp/gmp-6.2.1.tar.xz"
src_prepare() {
default
# Remove bison and flex generated files
rm demos/calc/calc.{c,h} demos/calc/calclex.c
autoreconf -f -i
# Pre-built texinfo files
find . -name '*.info*' -delete
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--build=i386-unknown-linux-musl \
--disable-shared
}
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}