diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-10 23:55:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-10 23:55:48 +0000 |
commit | b6121c8f8f9fc2d34f76d9e0d155f4e09200ed21 (patch) | |
tree | a8b3fea571affc5b3a347bff0343c404961eb825 /databases/libdbi-driver-sqlite3 | |
parent | 89cc8ab97c6e73e9f15b8c418a6f4ec4c19b34d1 (diff) | |
download | pkgsrc-b6121c8f8f9fc2d34f76d9e0d155f4e09200ed21.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-sqlite3')
-rw-r--r-- | databases/libdbi-driver-sqlite3/DESCR | 7 | ||||
-rw-r--r-- | databases/libdbi-driver-sqlite3/Makefile | 20 | ||||
-rw-r--r-- | databases/libdbi-driver-sqlite3/PLIST | 2 |
3 files changed, 29 insertions, 0 deletions
diff --git a/databases/libdbi-driver-sqlite3/DESCR b/databases/libdbi-driver-sqlite3/DESCR new file mode 100644 index 00000000000..db478ab4170 --- /dev/null +++ b/databases/libdbi-driver-sqlite3/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 SQLite3 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-sqlite3/Makefile b/databases/libdbi-driver-sqlite3/Makefile new file mode 100644 index 00000000000..3babb5869f4 --- /dev/null +++ b/databases/libdbi-driver-sqlite3/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= sqlite3 + +COMMENT= SQLite3 driver for libdbi, a database abstraction + +CONFLICTS= libdbi-sqlite3-[0-9]* + +CONFIGURE_ARGS+= --with-sqlite3 +CONFIGURE_ARGS+= --with-sqlite3-incdir=${BUILDLINK_PREFIX.sqlite}/include +CONFIGURE_ARGS+= --with-sqlite3-libdir=${BUILDLINK_PREFIX.sqlite}/lib + +.include "../../databases/libdbi/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/libdbi-driver-sqlite3/PLIST b/databases/libdbi-driver-sqlite3/PLIST new file mode 100644 index 00000000000..8ac7a2573bb --- /dev/null +++ b/databases/libdbi-driver-sqlite3/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ +lib/dbd/libdbdsqlite3.la |