Skip to content

Commit 191fb77

Browse files
authored
Merge pull request #21974 from jonahbeckford/opam-publish-conf-dkml-cross-toolchain.4.12.1
Package conf-dkml-cross-toolchain.4.12.1
2 parents a3b76ad + 8aac52b commit 191fb77

File tree

1 file changed

+59
-0
lines changed
  • packages/conf-dkml-cross-toolchain/conf-dkml-cross-toolchain.4.12.1

1 file changed

+59
-0
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
opam-version: "2.0"
2+
synopsis: "Add findlib toolchains for all installed DKML cross-compilers"
3+
authors: ["Diskuv, Inc. <[email protected]>"]
4+
license: "Apache-2.0"
5+
homepage: "https://github.com/diskuv/conf-dkml-cross-toolchain"
6+
bug-reports: "https://github.com/diskuv/conf-dkml-cross-toolchain/issues"
7+
dev-repo: "git+https://github.com/diskuv/conf-dkml-cross-toolchain"
8+
depends: [
9+
"ocaml" {= "4.12.1"}
10+
"ocaml-system" {>= "4.12.1~" & < "4.12.2~"} |
11+
"dkml-base-compiler" {>= "4.12.1~" & < "4.12.2~"}
12+
]
13+
build: [
14+
[
15+
"bash"
16+
"toolchain/findlib-configure.sh"
17+
"%{_:build}%/dl/findlib-1.9.1.tar.gz"
18+
"1.9.1"
19+
"%{_:build}%/extra-findlib"
20+
"%{ocaml:preinstalled}%"
21+
"%{prefix}%"
22+
"%{ocaml-system:path}%/../opt/mlcross" { ocaml-system:installed }
23+
"%{dkml-base-compiler:share}%/mlcross" { dkml-base-compiler:installed }
24+
]
25+
]
26+
install: [
27+
[ "install" "-d" "%{lib}%/findlib.conf.d" ]
28+
[
29+
"bash"
30+
"toolchain/findlib-install.sh"
31+
"%{_:build}%/extra-findlib"
32+
"%{ocaml:native}%"
33+
"%{ocaml-system:path}%/../opt/mlcross" { ocaml-system:installed }
34+
"%{dkml-base-compiler:share}%/mlcross" { dkml-base-compiler:installed }
35+
]
36+
[
37+
"bash"
38+
"toolchain/add-findlib-conf.sh"
39+
"%{prefix}%"
40+
"%{ocaml-system:path}%/../opt/mlcross" { ocaml-system:installed }
41+
"%{dkml-base-compiler:share}%/mlcross" { dkml-base-compiler:installed }
42+
]
43+
]
44+
maintainer: ["[email protected]"]
45+
extra-source "dl/findlib-1.9.1.tar.gz" {
46+
src: "http://download.camlcity.org/download/findlib-1.9.1.tar.gz"
47+
checksum: [
48+
"md5=65e6dc9b305ccbed1267275fe180f538"
49+
"sha512=83a05f3e310fa7cabb0475c5525f7a87c1b6bc2dc5e39f094cabfb5d944a826a5581844ba00ec1a48dd96184eb9de3c4d1055cdddee2b83c700a2de5a6dc6f84"
50+
]
51+
}
52+
url {
53+
src:
54+
"https://github.com/diskuv/conf-dkml-cross-toolchain/archive/v4.12.1.tar.gz"
55+
checksum: [
56+
"md5=7e8410fc134319fbdf8b9fd9a45dfa2d"
57+
"sha512=10b6eb2489a231d0b59ae9852b0939566262ff55affb7c9b299f03937fee9b7fd5d69dca76e8771c5fb117d3492e8f8df52d6462fdc7526df965b69182b2e76e"
58+
]
59+
}

0 commit comments

Comments
 (0)