# -*- 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.1.0
github.tarball_from releases

categories          ocaml devel databases
maintainers         {landonf @landonf} openmaintainer
license             MIT
description         OCaml bindings for SQLite 3
long_description    {*}${description}
distname            sqlite3-${version}

homepage            http://${github.author}.github.io/${github.project}

use_bzip2           yes
extract.suffix      .tbz

checksums           rmd160  be359dc34099114fe8c642e2457956e5b52c50d3 \
                    sha256  bb0db711691a8dfa24fe29ec4ecb6912444ad90e0f4c447af89831e6d1dffea5 \
                    size    29835

depends_build-append \
                    port: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
