|
| 1 | +opam-version: "2.0" |
| 2 | + |
| 3 | +authors: [ |
| 4 | + "Trevor Jim" |
| 5 | + "Benjamin C. Pierce" |
| 6 | + "Jérôme Vouillon" |
| 7 | +] |
| 8 | +license: "GPL-3.0-or-later" |
| 9 | +homepage: "https://www.cis.upenn.edu/~bcpierce/unison/" |
| 10 | +bug-reports: "https://github.com/bcpierce00/unison/issues" |
| 11 | +dev-repo: "git://github.com/bcpierce00/unison.git" |
| 12 | +patches: ["unison.patch"] |
| 13 | +build: [ |
| 14 | + [make "NATIVE=%{ocaml:native}%" "-j" jobs "tui" "fsmonitor" "manpage"] {!host-system-msvc:installed} |
| 15 | + ["nmake" "NATIVE=%{ocaml:native}%" "tui" "fsmonitor"] {host-system-msvc:installed} |
| 16 | +] |
| 17 | +install: [ |
| 18 | + [make "install" "PREFIX=%{prefix}%"] {os != "win32"} |
| 19 | + ["cmd" "/c" "copy" "src\\unison*.exe" "%{prefix}%\\bin"] {os = "win32"} |
| 20 | +] |
| 21 | +depends: [ |
| 22 | + "ocaml" {>= "4.08"} |
| 23 | +] |
| 24 | +depopts: [ |
| 25 | + "ocamlfind" |
| 26 | + "host-system-msvc" |
| 27 | +] |
| 28 | +synopsis: "File-synchronization tool for Unix and Windows" |
| 29 | +description: """ |
| 30 | +Unison is a file-synchronization tool for Unix and Windows. It allows |
| 31 | +two replicas of a collection of files and directories to be stored on |
| 32 | +different hosts (or different disks on the same host), modified |
| 33 | +separately, and then brought up to date by propagating the changes in |
| 34 | +each replica to the other. |
| 35 | + |
| 36 | +This package contains the textual user interface and man pages.""" |
| 37 | +url { |
| 38 | + src: |
| 39 | + "https://github.com/bcpierce00/unison/archive/refs/tags/v2.53.8.tar.gz" |
| 40 | + checksum: [ |
| 41 | + "md5=30ed70474d660a0a93de74d97ca22d67" |
| 42 | + "sha512=3e4ea9dc23645ff472c3d7bae79cad042a8ec0bbd57c8e28c49d1ad08cb2f177b09c60fec4853b11390d5825be74adb19334fcd7d2167963a05f67729890408a" |
| 43 | + ] |
| 44 | +} |
| 45 | +extra-source "unison.patch" { |
| 46 | + src: |
| 47 | + "https://patch-diff.githubusercontent.com/raw/bcpierce00/unison/pull/1166.diff?full_index=1" |
| 48 | + checksum: [ |
| 49 | + "md5=79801715d7b346374cbbe61dc5b3808d" |
| 50 | + "sha512=80e0f4e39d2b0156aa6f20925760c2502f2ff8f95d0f936b5974188603a9abf4938e67522e9b317605fcc6e55a401efdc4ae912ddf98f79cd2fe60a4e9680445" |
| 51 | + ] |
| 52 | +} |
0 commit comments