This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/rules/mpc/host.bash

46 lines
543 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
"0.9"
)
url=\
(
"http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz"
)
md5=\
(
"0d6acab8d214bd7d1fbbc593e83dd00d"
)
maintainer=\
(
"Ricardo Martins <rasm@fe.up.pt>"
)
requires=\
(
'mpfr/host'
'gmp/host'
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain}" \
--with-gmp="${cfg_dir_toolchain}" \
--with-mpfr="${cfg_dir_toolchain}" \
--disable-shared \
--enable-static
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}