# -*- 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           janet  1.0

name                janet-sqlite3
github.setup        janet-lang sqlite3 732d5872edb25dbd6aa7a38e0bc300e99d738690
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
version             20220521
revision            0
categories          janet devel
license             MIT
maintainers         {@tsujp wz.ht:jc+macports} openmaintainer
description         This native module proves sqlite bindings for janet
long_description    {*}${description}.

checksums           rmd160  9a1784fe1d1d49085085a4dd51300d13f385ca89 \
                    sha256  2d976f6693c5def1374266425ccc11420972a17867f90a5a3feb6eaf7a7a0d72 \
                    size    2322555

depends_build-append port:pkgconfig
depends_lib-append  port:sqlite3

build.env-append    JANET_SYSTEM_SQLITE=1
destroot.env-append JANET_SYSTEM_SQLITE=1