File: dune

package info (click to toggle)
ocaml-xiph 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 820 kB
  • sloc: ml: 4,494; ansic: 3,994; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (2)
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
(library
 (name opus)
 (public_name opus)
 (synopsis "OCaml bindings for libopus")
 (libraries bigarray ogg)
 (modules opus)
 (foreign_stubs
  (language c)
  (names opus_stubs)
  (extra_deps "config.h")
  (flags
   (:include c_flags.sexp)))
 (c_library_flags
  (:include c_library_flags.sexp)))

(library
 (name opus_decoder)
 (public_name opus.decoder)
 (synopsis "Opus decoder for the ogg-decoder library")
 (libraries ogg.decoder opus)
 (modules opus_decoder))

(rule
 (targets config.h c_flags.sexp c_library_flags.sexp)
 (action
  (run ./config/discover.exe)))