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
2017-05-11 21:33:30 +01:00

46 lines
545 B
Bash

version=\
(
"1.0.2"
)
url=\
(
"http://www.multiprecision.org/mpc/download/mpc-$version.tar.gz"
)
md5=\
(
"68fadff3358fb3e7976c7a398a0af4c3"
)
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
}