-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
40 lines (38 loc) · 2.02 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
opam-version: "2.0"
maintainer: "kakadu.hafanana@gmail.com"
authors: "kakadu.hafanana@gmail.com"
homepage: "http://kakadu.github.io/lablqt/"
bug-reports: "https://github.com/kakadu/lablqml/issues"
dev-repo: "git+https://github.com/Kakadu/lablqml.git"
tags: [ "gui" "ui" "qt" ]
build: [
["sh" "-exc" "PATH=/usr/lib64/qt5/bin:/usr/lib/qt5/bin:$PATH ./configure"] {os-distribution = "alpine" | os-distribution = "centos" | os-distribution = "fedora" }
["sh" "-exc" "PATH=/usr/lib64/qt5/bin:/usr/lib/qt5/bin:$PATH make"] {os-distribution = "alpine" | os-distribution = "centos" | os-distribution = "fedora" }
["sh" "-exc" "PATH=/usr/lib64/qt5/bin:/usr/lib/qt5/bin:$PATH make demos"]
{ (os-distribution = "alpine" | os-distribution = "centos" | os-distribution = "fedora") & with-test }
["./configure"] { os-distribution != "alpine" & os-distribution != "centos" & os-distribution != "fedora" }
[make] { os-distribution != "alpine" & os-distribution != "centos" & os-distribution != "fedora" }
[make "demos"] { with-test & os-distribution != "alpine" & os-distribution != "centos" & os-distribution != "fedora" }
]
install: [
["sh" "-exc" "PATH=/usr/lib64/qt5/bin:/usr/lib/qt5/bin:$PATH make install"] { os-distribution = "alpine" | os-distribution = "centos" | os-distribution = "fedora" }
[make "install"] { os-distribution != "alpine" & os-distribution != "centos" & os-distribution != "fedora" }
]
remove: [make "uninstall"]
flags: [ light-uninstall ]
depends: [
"ocaml" {>= "4.03.0" & < "4.09" }
"ocamlfind" {build}
"dune"
"configurator" {build}
"conf-qt" {>= "5.2.1"}
"ppxlib" {< "0.9.0"}
"conf-pkg-config" {build}
]
synopsis:
"OCamlfind package and PPX extension to interface OCaml and QtQuick"
description: "Versions <= 0.4 are known as `lablqt`, >0.5 -- as `lablqml`."
url {
src: "https://github.com/Kakadu/lablqml/archive/0.6.1.tar.gz"
checksum: "md5=78d82c02437eb2dcd4ebf2c60bf3946f"
}