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

name                sqlitewrapped
version             1.3.1
categories          databases devel
platforms           darwin

maintainers         nomaintainer

description         a C++ wrapper for the Sqlite database C API
long_description    This is a C++ wrapper for the Sqlite database \
                    C application programming interface. The code works \
                    for linux/unix, as well as win32. This library \
                    supports version 3 of the sqlite database. From \
                    version 1.2 the connection pool can be made threadsafe.

homepage            http://www.alhem.net/project/sqlite/index.html

master_sites        http://www.alhem.net/project/sqlite
checksums           md5 a6709476d04dd89acb2b16332e4fdf37 \
                    sha1 d95614429d2397477445013ed3c0b3e1947ee883

# build without the SysLog feature at the moment, if there are requests add variant
patchfiles          patch-Makefile.diff

depends_build       port:sqlite3

use_configure       no

destroot {
  xinstall ${worksrcpath}/libsqlitewrapped.a ${destroot}${prefix}/lib
  xinstall ${worksrcpath}/libsqlitewrapped.h ${destroot}${prefix}/include
}