Files
Arch-R/packages/toolchain/math/mpfr/build
Stephan Raue 75754af63b mpfr: dont depend on 'ccache'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2010-11-11 14:44:02 +01:00

25 lines
428 B
Bash
Executable File

#!/bin/sh
. config/options $1
setup_toolchain host
cd $PKG_BUILD
libtoolize
autoreconf
mkdir -p objdir
cd objdir
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--target=$TARGET_NAME \
--prefix=$ROOT/$TOOLCHAIN \
--enable-shared \
--with-gmp-lib="$ROOT/$TOOLCHAIN/lib" \
--with-gmp-include="$ROOT/$TOOLCHAIN/include" \
make
make install