forked from gfngfn/SATySFi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
satysfi.opam
73 lines (73 loc) · 2.8 KB
/
satysfi.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
opam-version: "2.0"
name: "satysfi"
version: "0.0.3"
maintainer: "gfngfn"
authors: [
"gfngfn"
]
homepage: "https://github.com/gfngfn/SATySFi"
dev-repo: "git+https://github.com/gfngfn/SATySFi.git"
bug-reports: "https://github.com/gfngfn/SATySFi/issues"
extra-source "lm2.004otf.zip" {
archive: "http://www.gust.org.pl/projects/e-foundry/latin-modern/download/lm2.004otf.zip"
checksum: [
"sha256=5b0236051d3728be6616f1b274e3b910473875b5a3ef9382f0ef00384ddb161b"
"sha512=c63068c86590e768498ef5f68a17a737aa40981432d8f6366c29760ea032a603ddd3d748d348ab259beba77966c292f9382b1fe9eb7a78af0926c6abc71f6f81"
]
}
extra-source "latinmodern-math-1959.zip" {
archive: "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip"
checksum: [
"sha256=aaaa060b4ffc091461e875efb9498b9abfa7c7a48f38eb33882868839903a4f8"
"sha512=b4fb4b575107b56eee0fed7971b09d334d4b162842675cf5f5ff7cb12e08099fb00755c81ddc1f04138f87b216592299028906165e2cec43521c6ca61b466d4c"
]
}
extra-source "junicode-1.002.zip" {
archive: "http://downloads.sourceforge.net/project/junicode/junicode/junicode-1.002/junicode-1.002.zip"
checksum: [
"sha256=c199d96c8424be60fcab8d00d2eee39ea8ae632cfd5e710cbbd70626d6a729e7"
"sha512=1738802f70b0029567be608ed36481864f8f7f029fd1c45d73fa25d092d49c978c51df1c01147b7b176e9b0409d7f15d5713a6daf1b1b269636bc6324b2c6f37"
]
}
extra-source "IPAexfont00301.zip" {
archive: "https://oscdl.ipa.go.jp/IPAexfont/IPAexfont00301.zip"
checksum: [
"sha256=c7de095cfded3a549b439b7874cc21b8d73aa16a40d15c31b87bfe0c02f4ae5a"
"sha512=92df9f6a1002ea68cfd88f2b1fe4a5a5d6dfdb0ac4be7f4c0815200ce1962d3db7330ec17e7380efe4ba0735a55e0f5160b0cd6c1553a79fc8a860c434958388"
]
}
build: [
["mkdir" "-p" "temp"]
["unzip" "-o" "lm2.004otf.zip" "*.otf" "-d" "lib-satysfi/dist/fonts/"]
["unzip" "-o" "latinmodern-math-1959.zip" "*.otf" "-d" "temp/"]
["cp" "temp/latinmodern-math-1959/otf/latinmodern-math.otf" "lib-satysfi/dist/fonts/"]
["unzip" "-o" "junicode-1.002.zip" "*.ttf" "-d" "lib-satysfi/dist/fonts/"]
["unzip" "-o" "IPAexfont00301.zip" "*.ttf" "-d" "temp/"]
["cp" "temp/IPAexfont00301/ipaexg.ttf" "lib-satysfi/dist/fonts/"]
["cp" "temp/IPAexfont00301/ipaexm.ttf" "lib-satysfi/dist/fonts/"]
[make "-f" "Makefile" "PREFIX=%{prefix}%"]
]
install: [
[make "-f" "Makefile" "install" "PREFIX=%{prefix}%"]
]
remove: [
[make "-f" "Makefile" "uninstall" "PREFIX=%{prefix}%"]
]
# Packages whose version suffix is "+satysfi" are distributed on satysfi-external-repo.
depends: [
"ocaml" {>= "4.06.0"}
"batteries"
"camlimages" {>= "5.0.1"}
"camlpdf" {= "2.2.1+satysfi"}
"core_kernel" {>= "v0.10.0"}
"cppo" {build & >= "1.6.4" & < "1.7.0"}
"depext"
"dune" {build}
"menhir"
"ocamlfind" {build}
"otfm" {= "0.3.2+satysfi"}
"ppx_deriving"
"uutf"
"yojson" {= "1.4.1+satysfi"}
"omd"
]