43 lines
817 B
TOML
43 lines
817 B
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = [
|
|
"--enable-cxx",
|
|
"--disable-static",
|
|
"--enable-fat"
|
|
]
|
|
build_32 = true
|
|
configure-lib32 = [
|
|
"--enable-cxx",
|
|
"--disable-static",
|
|
"--enable-fat",
|
|
"--includedir=/usr/lib32/gmp",
|
|
"ABI=32"
|
|
]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"glibc",
|
|
"libunwind",
|
|
"libcxx"
|
|
]
|
|
|
|
[dependencies.lib32]
|
|
runtime = [ "lib32-glibc", "lib32-libunwind", "lib32-libcxx" ]
|
|
|
|
[package]
|
|
description = "arbitrary precision arithmetic math libs"
|
|
homepage = "https://www.gnu.org/software/gmp/"
|
|
license = [
|
|
"GPL-2.0-or-later",
|
|
"LGPL-3.0-or-later",
|
|
]
|
|
name = "gmp"
|
|
version = "6.3.0"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
sha256 = "a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898"
|
|
url = "https://gmplib.org/download/gmp/gmp-$version.tar.xz"
|