You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.7 KiB
65 lines
1.7 KiB
![]()
6 years ago
|
opam-version: "2.0"
|
||
|
maintainer: "Thomas Gazagnaire <thomas@gazagnaire.org>"
|
||
|
homepage: "http://projects.camlcity.org/projects/findlib.html"
|
||
|
bug-reports: "https://gitlab.camlcity.org/gerd/lib-findlib/issues"
|
||
|
dev-repo: "git+https://gitlab.camlcity.org/gerd/lib-findlib.git"
|
||
|
build: [
|
||
|
[
|
||
|
"./configure"
|
||
|
"-bindir"
|
||
|
bin
|
||
|
"-sitelib"
|
||
|
lib
|
||
|
"-mandir"
|
||
|
man
|
||
|
"-config"
|
||
|
"%{lib}%/findlib.conf"
|
||
|
"-no-custom"
|
||
|
"-no-topfind" {ocaml:preinstalled}
|
||
|
]
|
||
|
[make "all"]
|
||
|
[make "opt"] {ocaml:native}
|
||
|
]
|
||
|
install: [
|
||
|
[make "install"]
|
||
|
["install" "-m" "0755" "ocaml-stub" "%{bin}%/ocaml"] {ocaml:preinstalled}
|
||
|
]
|
||
|
remove: [
|
||
|
["ocamlfind" "remove" "bytes"]
|
||
|
[
|
||
|
"./configure"
|
||
|
"-bindir"
|
||
|
bin
|
||
|
"-sitelib"
|
||
|
lib
|
||
|
"-mandir"
|
||
|
man
|
||
|
"-config"
|
||
|
"%{lib}%/findlib.conf"
|
||
|
"-no-topfind" {ocaml:preinstalled}
|
||
|
]
|
||
|
[make "uninstall"]
|
||
|
["rm" "-f" "%{bin}%/ocaml"] {ocaml:preinstalled}
|
||
|
]
|
||
|
depends: [
|
||
|
"ocaml" {>= "4.00.0"}
|
||
|
"conf-m4" {build}
|
||
|
]
|
||
|
synopsis: "A library manager for OCaml"
|
||
|
description: """
|
||
|
Findlib is a library manager for OCaml. It provides a convention how
|
||
|
to store libraries, and a file format ("META") to describe the
|
||
|
properties of libraries. There is also a tool (ocamlfind) for
|
||
|
interpreting the META files, so that it is very easy to use libraries
|
||
|
in programs and scripts."""
|
||
|
authors: "Gerd Stolpmann <gerd@gerd-stolpmann.de>"
|
||
|
extra-files: [
|
||
|
["ocamlfind.install" "md5=06f2c282ab52d93aa6adeeadd82a2543"]
|
||
|
["ocaml-stub" "md5=181f259c9e0bad9ef523e7d4abfdf87a"]
|
||
|
]
|
||
|
url {
|
||
|
src: "http://download.camlcity.org/download/findlib-1.8.0.tar.gz"
|
||
|
checksum: "md5=a710c559667672077a93d34eb6a42e5b"
|
||
|
mirrors: "http://download2.camlcity.org/download/findlib-1.8.0.tar.gz"
|
||
|
}
|