summaryrefslogtreecommitdiff
path: root/databases/libdbi-driver-sqlite
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-03-10 23:55:48 +0000
committerwiz <wiz@pkgsrc.org>2010-03-10 23:55:48 +0000
commit83e3ca917d7d90391b02d6fdeac779eddee7fd3b (patch)
treea8b3fea571affc5b3a347bff0343c404961eb825 /databases/libdbi-driver-sqlite
parent67880eefffc2627883ad56ae3cef444900e701cd (diff)
downloadpkgsrc-83e3ca917d7d90391b02d6fdeac779eddee7fd3b.tar.gz
Initial import of libdbi and its drivers for mysql, postgresql and sqlite
(2 versions); packaged for wip by Aleksey Cheusov. libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
Diffstat (limited to 'databases/libdbi-driver-sqlite')
-rw-r--r--databases/libdbi-driver-sqlite/DESCR7
-rw-r--r--databases/libdbi-driver-sqlite/Makefile20
-rw-r--r--databases/libdbi-driver-sqlite/PLIST2
3 files changed, 29 insertions, 0 deletions
diff --git a/databases/libdbi-driver-sqlite/DESCR b/databases/libdbi-driver-sqlite/DESCR
new file mode 100644
index 00000000000..7f5a642f5c1
--- /dev/null
+++ b/databases/libdbi-driver-sqlite/DESCR
@@ -0,0 +1,7 @@
+libdbi-drivers - drivers for libdbi,
+the Database Independent Abstraction Layer for C
+
+This driver allows libdbi-enabled applications to use SQLite as a
+database backend. Internally, it provides a libdbi driver around the libpq
+client library. See the included driver documentation for installation
+instructions, usage, and information about driver-specific peculiarities.
diff --git a/databases/libdbi-driver-sqlite/Makefile b/databases/libdbi-driver-sqlite/Makefile
new file mode 100644
index 00000000000..1aa85c4d9f4
--- /dev/null
+++ b/databases/libdbi-driver-sqlite/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
+#
+
+.include "../../databases/libdbi/Makefile_drivers"
+
+LICENSE= gnu-lgpl-v2
+
+DRIVER= sqlite
+
+COMMENT= SQLite driver for libdbi, a database abstraction
+
+CONFLICTS= libdbi-sqlite-[0-9]*
+
+CONFIGURE_ARGS+= --with-sqlite
+CONFIGURE_ARGS+= --with-sqlite-incdir=${BUILDLINK_PREFIX.sqlite}/include
+CONFIGURE_ARGS+= --with-sqlite-libdir=${BUILDLINK_PREFIX.sqlite}/lib
+
+.include "../../databases/libdbi/buildlink3.mk"
+.include "../../databases/sqlite/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/libdbi-driver-sqlite/PLIST b/databases/libdbi-driver-sqlite/PLIST
new file mode 100644
index 00000000000..226d7494b06
--- /dev/null
+++ b/databases/libdbi-driver-sqlite/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $
+lib/dbd/libdbdsqlite.la