-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
48 lines (48 loc) · 1.61 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
opam-version: "2.0"
authors: [ "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
"Kenn Knowles <kenn.knowles@gmail.com>" ]
maintainer: "Christophe.Troestler@umons.ac.be"
homepage: "https://github.com/kennknowles/ocaml-freetds"
dev-repo: "git+https://github.com/kennknowles/ocaml-freetds.git"
bug-reports: "https://github.com/kennknowles/ocaml-freetds/issues"
license: "LGPL-2.1-only"
build: [
["./autogen.sh"]
[
"./configure"
"--prefix"
prefix
"--sbindir=%{lib}%/freetds/sbin"
"--libexecdir=%{lib}%/freetds/libexec"
"--sysconfdir=%{lib}%/freetds/etc"
"--sharedstatedir=%{lib}%/freetds/com"
"--localstatedir=%{lib}%/freetds/var"
"--libdir=%{lib}%/freetds/lib"
"--includedir=%{lib}%/freetds/include"
"--datarootdir=%{lib}%/freetds/share"
]
[make]
]
remove: [["ocamlfind" "remove" "freetds"]]
depends: ["ocaml" "ocamlfind"]
install: [make "install"]
depexts: [
["autoconf" "automake" "freetds-devel"] {os-distribution = "centos"}
["autoconf" "automake" "freetds-dev"] {os-family = "debian"}
["autoconf" "automake" "freetds-devel"] {os-distribution = "fedora"}
["autoconf" "automake" "freetds"]
{os = "macos" & os-distribution = "homebrew"}
]
synopsis: "Binding to the ct-lib component of the FreeTDS library."
description: """
It allows to access Sybase and Microsoft (or other TDS) database
servers."""
flags: light-uninstall
url {
src:
"https://download.ocamlcore.org/ocaml-freetds/ocaml-freetds/0.4/freetds-0.4.tar.gz"
checksum: [
"sha256=e48c2a5207f0e7bbd7f6a8bff205524d38dbac7d3900b4d759013df9a3d9a43a"
"md5=3cd1b8eb818ddba36cc12d064863f309"
]
}