-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (39 loc) · 1.61 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
41
42
43
opam-version: "2.0"
maintainer: "David Kaloper Meršinjak <david@numm.org>"
authors: ["David Kaloper Meršinjak <david@numm.org>"]
homepage: "https://github.com/pqwy/ocb-stubblr"
doc: "https://pqwy.github.io/ocb-stubblr/doc"
license: "ISC"
dev-repo: "git+https://github.com/pqwy/ocb-stubblr.git"
bug-reports: "https://github.com/pqwy/ocb-stubblr/issues"
tags: ["ocamlbuild"]
depends: [
"ocaml" {>= "4.01.0"}
"ocamlfind" {build}
"ocamlbuild" {>= "0.9.3" | < "0.9.0"}
"topkg" {>= "0.8.1"}
"astring"
]
build: [ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false" ]
synopsis: "OCamlbuild plugin for C stubs"
description: """
Do you get excited by C stubs? Do they sometimes make you swoon, and even faint,
and in the end no `cmxa`s get properly linked -- not to mention correct
multi-lib support?
Do you wish that the things that excite you the most, would excite you just a
little less? Then ocb-stubblr is just the library for you.
ocb-stubblr is about ten lines of code that you need to repeat over, over, over
and over again if you are using `ocamlbuild` to build OCaml projects that
contain C stubs -- now with 100% more lib!
It does what everyone wants to do with `.clib` files in their project
directories. It can also clone the `.clib` and arrange for multiple compilations
with different sets of discovered `cflags`.
ocb-stubblr is distributed under the ISC license."""
url {
src:
"https://github.com/pqwy/ocb-stubblr/releases/download/v0.1.0/ocb-stubblr-0.1.0.tbz"
checksum: [
"sha256=d5d6d57dc361a25e4b1ccad900ff3dc4674c8876c2a32886584b2f0496e1cc87"
"md5=5a7909b50d8d68f981f4be798a3b8112"
]
}