banan-os/ports/gmp/build.sh

15 lines
341 B
Bash
Executable File

#!/bin/bash ../install.sh
NAME='gmp'
VERSION='6.3.0'
DOWNLOAD_URL="https://ftpmirror.gnu.org/gnu/gmp/gmp-$VERSION.tar.xz#a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
CONFIG_SUB=('configfsf.sub')
CONFIGURE_OPTIONS=(
'CFLAGS=-std=c17'
)
post_install() {
# remove libtool file
rm -f $BANAN_SYSROOT/usr/lib/libgmp.la
}