Skip to content

Commit

Permalink
Merge pull request #53 from ocaml/feature/opam
Browse files Browse the repository at this point in the history
To help fix #50: put the opam file in the repo to make it easy to "opam publish" new versions
  • Loading branch information
antoinemine authored Aug 22, 2019
2 parents 3cc5a6d + a7a9985 commit d12cef0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions zarith.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
opam-version: "2.0"
name: "zarith"
maintainer: "Xavier Leroy <[email protected]>"
authors: [
"Antoine Miné"
"Xavier Leroy"
"Pascal Cuoq"
]
homepage: "https:/ocaml/Zarith"
bug-reports: "https:/ocaml/Zarith/issues"
dev-repo: "git+https:/ocaml/Zarith.git"
build: [
["./configure"] {os != "openbsd" & os != "freebsd" & os != "macos"}
[
"sh"
"-exc"
"LDFLAGS=\"$LDFLAGS -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/usr/local/include\" ./configure"
] {os = "openbsd" | os = "freebsd"}
[
"sh"
"-exc"
"LDFLAGS=\"$LDFLAGS -L/opt/local/lib -L/usr/local/lib\" CFLAGS=\"$CFLAGS -I/opt/local/include -I/usr/local/include\" ./configure"
] {os = "macos"}
[make]
]
install: [
[make "install"]
]
remove: ["ocamlfind" "remove" "zarith"]
depends: [
"ocaml"
"ocamlfind"
"conf-gmp"
"conf-perl" {build}
]
synopsis:
"Implements arithmetic and logical operations over arbitrary-precision integers"
description: """
The Zarith library implements arithmetic and logical operations over
arbitrary-precision integers. It uses GMP to efficiently implement
arithmetic over big integers. Small integers are represented as Caml
unboxed integers, for speed and space economy."""
flags: light-uninstall

0 comments on commit d12cef0

Please sign in to comment.