Imported sources from subversion.
This commit is contained in:
45
packages/mpc/host.bash
Normal file
45
packages/mpc/host.bash
Normal file
@@ -0,0 +1,45 @@
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user