prepare release 0.4.5
[sqlgg.git] / opam
blobdd3efeecae2f459bef2524a4217d8faed222ff45
1 opam-version: "2.0"
2 maintainer: "ygrek@autistici.org"
3 authors: ["ygrek"]
4 homepage: "http://ygrek.org.ua/p/sqlgg/"
5 dev-repo: "git+https://github.com/ygrek/sqlgg.git"
6 bug-reports: "https://github.com/ygrek/sqlgg/issues"
7 build: [
8   [ "ocaml"
9     "setup.ml"
10     "-configure"
11     "--enable-tests"
12     "--%{mysql:enable}%-mysql"
13     "--%{sqlite3:enable}%-sqlite3"
14     "--prefix" prefix
15   ]
16   ["ocaml" "setup.ml" "-build"]
17   ["ocaml" "setup.ml" "-test"] {with-test}
19 install: [
20   ["ocaml" "setup.ml" "-install"]
22 remove: [
23   ["ocamlfind" "remove" "sqlgg"]
24   ["rm" "-f" "%{bin}%/sqlgg" "%{bin}%/sqlgg.exe"]
26 depends: [
27   "ocaml" {>= "4.02.0"}
28   "ocamlfind" {build}
29   "ocamlbuild" {build}
30   "mybuild" {build}
31   "menhir"
32   "ppx_deriving"
33   ("extlib" | "extlib-compat")
34   "base-unix"
35   "ounit"
37 depopts: [
38   "mysql"
39   "sqlite3"
41 synopsis: "SQL Guided (code) Generator"
42 description: """
43 sqlgg is an SQL query parser and binding code generator for C#, C++, Java, OCaml.
44 It starts off with SQL schema and queries, and generates code (or XML, allowing
45 further code generation for various purposes). Generated code only defines a mapping
46 of output columns and query parameters to the host language, trying to be as unobtrusive
47 as possible and leaving the choice of SQL database (and API to access it) to the developer."""
48 flags: light-uninstall