# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
license {GPL-2 LGPL-2.1+}
description bitstrings and bitstring matching for OCaml
The ocaml-bitstring project adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml. \
(This project was formerly known as bitmatch). You can use this module to both parse and generate binary formats, files and protocols. \
Bitstring handling is added as primitives to the language, making it exceptionally simple to use and very powerful.
homepage https://code.google.com/p/bitstring/
master_sites googlecode:bitstring
checksums md5 88ad0ee29af8b077e63896da23ec9054 \
sha1 49b5ec677e251672686dd2886219bb7da30fda86 \
rmd160 47af0dfd6617a8054252208807649f188e083b55
patchfiles patch-Makefile.in-ocamlfind.diff \
patch-Makefile.in-top_srcdir.diff
depends_lib port:ocaml port:ocaml-findlib
set ldconf [open ${prefix}/lib/ocaml/ld.conf r+]
while {[gets ${ldconf} line] != -1} {
if {${line} eq "${prefix}/lib/ocaml/site-lib/bitstring"} {
puts ${ldconf} ${prefix}/lib/ocaml/site-lib/bitstring
livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)