Import sqlite3-odbc-0.9996.

ODBC driver for SQLite3.

ok sthen@
This commit is contained in:
stu 2018-06-08 12:37:23 +00:00
parent e84230dfa2
commit 066c48a343
5 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2018/06/08 12:37:23 stu Exp $
COMMENT = ODBC driver for SQLite3
V = 0.9996
DISTNAME = sqliteodbc-${V}
PKGNAME = sqlite3-odbc-${V}
CATEGORIES = databases
HOMEPAGE = http://www.ch-werner.de/sqliteodbc/
MAINTAINER = Stuart Cassoff <stwo@users.sourceforge.net>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${HOMEPAGE}
WANTLIB = iodbcinst m pthread sqlite3 z
LIB_DEPENDS = databases/iodbc databases/sqlite3
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --with-libxml2=no
NO_TEST = Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib
${INSTALL_DATA} \
${WRKBUILD}/.libs/libsqlite3odbc-${V}.so \
${PREFIX}/lib/libsqlite3odbc.so
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (sqliteodbc-0.9996.tar.gz) = ivvJ4IJtT/ByV9eIEQggbOMbX3GXYsvbT2ggG2Cwy04=
SIZE (sqliteodbc-0.9996.tar.gz) = 997425

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-configure,v 1.1.1.1 2018/06/08 12:37:23 stu Exp $
We don't need no stinkin' SQLite3 extensions.
Index: configure
--- configure.orig
+++ configure
@@ -12365,7 +12365,7 @@ fi
#########
# Add extensions to build
#
-if test "$SQLITE3_LOADEXTENSION" = "1" ; then
+if test "$SQLITE3_LOADEXTENSION" != "1" ; then
EXT_BLOBTOXY=libsqlite3_mod_blobtoxy.la
EXT_IMPEXP=libsqlite3_mod_impexp.la
EXT_CSVTABLE=libsqlite3_mod_csvtable.la

View File

@ -0,0 +1 @@
ODBC driver for SQLite3.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2018/06/08 12:37:23 stu Exp $
lib/libsqlite3odbc.so