opam-version: "2.0"
maintainer: "Markus Mottl <markus.mottl@gmail.com>"
authors: [ "Egbert Ammicht <eammicht@lucent.com>"
           "Patrick Cousot <Patrick.Cousot@ens.fr>"
           "Sam Ehrlichman <sehrlichman@janestreet.com>"
           "Florent Hoareau <h.florent@gmail.com>"
           "Markus Mottl <markus.mottl@gmail.com>"
           "Liam Stewart <liam@cs.toronto.edu>"
           "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
           "Oleg Trott <ot14@columbia.edu>"
           "Martin Willensdorfer <ma.wi@gmx.at>" ]
license: "LGPL-2.1-or-later with OCaml-LGPL-linking-exception"
homepage: "http://mmottl.github.io/lacaml"
dev-repo: "git+https://github.com/mmottl/lacaml.git"
bug-reports: "https://github.com/mmottl/lacaml/issues"
tags: [ "clib:lapack" "clib:blas"  ]
build: [
  ["ocaml" "setup.ml" "-configure" "--prefix" prefix]
  ["ocaml" "setup.ml" "-build"]
  ["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
  ["ocaml" "setup.ml" "-build"] {with-test}
  ["ocaml" "setup.ml" "-test"] {with-test}
  ["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: [
  ["ocamlfind" "remove" "lacaml"]
]
depends: [
  "ocaml" {>= "3.12"}
  "base-bigarray"
  "base-bytes"
  "ocamlfind" {build & >= "1.5"}
  "ocamlbuild" {build}
]
depexts: [
  ["libblas-dev" "liblapack-dev"] {os-family = "debian"}
  ["blas-devel" "lapack-devel"] {os-distribution = "centos"}
]
synopsis: "OCaml-bindings to BLAS and LAPACK"
description: """
This library interfaces the BLAS-library (Basic Linear Algebra
Subroutines) and LAPACK-library (Linear Algebra routines), which are
written in FORTRAN."""
flags: light-uninstall
url {
  src:
    "https://github.com/mmottl/lacaml/releases/download/v8.0.7/lacaml-8.0.7.tar.gz"
  checksum: "md5=1cf6b4cfe903bba5e69f75968e7b6bea"
}
