# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           ocaml 1.1

name                ocaml-sqlite3
github.setup        mmottl sqlite3-ocaml 5.4.0
revision            2
categories          ocaml devel databases
maintainers         {landonf @landonf} openmaintainer
license             MIT
description         OCaml bindings for SQLite 3
long_description    {*}${description}
homepage            http://${github.author}.github.io/${github.project}
distname            sqlite3-${version}
use_bzip2           yes
extract.suffix      .tbz
checksums           rmd160  cc567528eef914eff45fc0088ab4b268ad2b2c43 \
                    sha256  f0069532f78ac24f16d79262af01434952d0481f8bf80ae541dff4a56cc4e9ff \
                    size    33076
github.tarball_from releases

depends_build-append \
                    path:bin/pkg-config:pkgconfig
depends_lib-append  port:ocaml-dune-configurator \
                    port:sqlite3
depends_test-append port:ocaml-ppx_inline_test

ocaml.build_type    dune
test.run            yes
