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
2018-08-20 20:34:55 +01:00

46 lines
530 B
Bash

version=\
(
"1.0.2"
)
url=\
(
"https://ftp.gnu.org/gnu/mpc/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
}