/
opam
31 lines (30 loc) · 1000 Bytes
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
opam-version: "2.0"
maintainer: "Martin Lucina <martin@lucina.net>"
homepage: "https://gmplib.org/"
license: ["LGPL-3.0-only" "LGPL-2.0-only"]
authors: "Torbjörn Granlund and contributors"
bug-reports: "mirageos-devel@lists.xenproject.org"
build: ["sh" "-ex" "./mirage-build.sh"]
install: ["sh" "-ex" "./mirage-install.sh"]
remove: [
"rm" "-rf"
"%{prefix}%/lib/pkgconfig/gmp-freestanding.pc"
"%{prefix}%/lib/gmp-freestanding"
]
depends: [
"ocaml"
"ocaml-freestanding" {>= "0.2.3" & < "0.5.0"}
"conf-m4" {build}
]
synopsis: "The GNU Multiple Precision Arithmetic Library"
description: "Freestanding build of GNU GMP."
flags: light-uninstall
extra-files: [
["mirage-install.sh" "md5=aca9a1c985326f95daa51aedef55b318"]
["mirage-build.sh" "md5=5e7d8c8aaacd0045992ba209d584c1db"]
["gmp-freestanding.pc" "md5=391473dd7c6957fed3e9e485e456fb6c"]
]
url {
src: "https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz"
checksum: "md5=f58fa8001d60c4c77595fbbb62b63c1d"
}