this repo has no description
1opam-version: "2.0"
2maintainer: "David Kaloper Meršinjak <david@numm.org>"
3authors: ["David Kaloper Meršinjak <david@numm.org>"]
4homepage: "https://github.com/pqwy/ocb-stubblr"
5doc: "https://pqwy.github.io/ocb-stubblr/doc"
6license: "ISC"
7dev-repo: "git+https://github.com/pqwy/ocb-stubblr.git"
8bug-reports: "https://github.com/pqwy/ocb-stubblr/issues"
9tags: ["ocamlbuild"]
10depends: [
11 "ocaml" {>= "4.01.0"}
12 "ocamlfind" {build}
13 "ocamlbuild" {>= "0.9.3" | < "0.9.0"}
14 "topkg" {>= "0.8.1"}
15 "astring"
16]
17build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ]
18
19patches: [
20 "custom-cclib.patch"
21 "use-OPAM_SWITCH_PREFIX.patch"
22]
23
24synopsis: "OCamlbuild plugin for C stubs"
25description: """
26Do you get excited by C stubs? Do they sometimes make you swoon, and even faint,
27and in the end no `cmxa`s get properly linked -- not to mention correct
28multi-lib support?
29
30Do you wish that the things that excite you the most, would excite you just a
31little less? Then ocb-stubblr is just the library for you.
32
33ocb-stubblr is about ten lines of code that you need to repeat over, over, over
34and over again if you are using `ocamlbuild` to build OCaml projects that
35contain C stubs -- now with 100% more lib!
36
37It does what everyone wants to do with `.clib` files in their project
38directories. It can also clone the `.clib` and arrange for multiple compilations
39with different sets of discovered `cflags`.
40
41ocb-stubblr is distributed under the ISC license."""
42url {
43 src:
44 "https://github.com/pqwy/ocb-stubblr/releases/download/v0.1.1/ocb-stubblr-0.1.1.tbz"
45 checksum: [
46 "sha256=4e9c4fd031e008a65f14a0f3bf6914fa6632ab054aad8670dcb30621433feb98"
47 "md5=607720dd18ca51e40645b42df5c1273e"
48 ]
49}
50extra-source "use-OPAM_SWITCH_PREFIX.patch" {
51 src:
52 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocb-stubblr/use-OPAM_SWITCH_PREFIX.patch"
53 checksum: [
54 "sha256=e5cba29a8a1d27600b408ab189fdda4021a1edfa00b8dbfd850d81ac49664c31"
55 "md5=a7271bb1f862bd3da4ffd9caa87ca76f"
56 ]
57}
58extra-source "custom-cclib.patch" {
59 src:
60 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocb-stubblr/custom-cclib.patch"
61 checksum: [
62 "sha256=ae9b303a6010ee993e4a904f68070c24d27a25c6d7e51b2522e1ed2ecddcf511"
63 "md5=d479b52a50d53dd79da2d6eea2a9a9e3"
64 ]
65}