banan-os/ports/mpc/build.sh

17 lines
420 B
Bash
Executable File

#!/bin/bash ../install.sh
NAME='mpc'
VERSION='1.3.1'
DOWNLOAD_URL="https://ftp.gnu.org/gnu/mpc/mpc-$VERSION.tar.gz#ab642492f5cf882b74aa0cb730cd410a81edcdbec895183ce930e706c1c759b8"
DEPENDENCIES=('gmp' 'mpfr')
CONFIG_SUB=('build-aux/config.sub')
CONFIGURE_OPTIONS=(
"--target=$BANAN_TOOLCHAIN_TRIPLE"
"--with-sysroot=$BANAN_SYSROOT"
)
post_install() {
# remove libtool file
rm -f $BANAN_SYSROOT/usr/lib/libmpc.la
}