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
530 B
Bash
Raw Normal View History

2013-07-13 17:19:22 +01:00
version=\
(
2017-05-11 21:33:30 +01:00
"1.0.2"
2013-07-13 17:19:22 +01:00
)
url=\
(
2018-04-08 17:03:03 +01:00
"https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz"
2013-07-13 17:19:22 +01:00
)
md5=\
(
2017-05-11 21:33:30 +01:00
"68fadff3358fb3e7976c7a398a0af4c3"
2013-07-13 17:19:22 +01:00
)
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
}