diff options
author | jlam <jlam> | 2001-10-16 16:20:08 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-10-16 16:20:08 +0000 |
commit | 36923eb954340ca233902e100fdf9589afeb3ad3 (patch) | |
tree | 0ad55b0bdc80e7d03521850b5f70ed96c77d21ff /databases/sqlite | |
parent | 41f899b04dfdea5b72d6d7714ad97e6537209036 (diff) | |
download | pkgsrc-36923eb954340ca233902e100fdf9589afeb3ad3.tar.gz |
databases/sqlite: SQL Database Engine In A C Library
SQLite is a C library that implements an SQL database engine. Programs
that link with the SQLite library can have SQL database access without
running a separate RDBMS process. The distribution comes with a standalone
command-line access program (sqlite) that can be used to administer an
SQLite database and which serves as an example of how to use the SQLite
library.
SQLite is not a client library used to connect to a big database server.
SQLite is the server. The SQLite library reads and writes directly to and
from the database files on disk.
Diffstat (limited to 'databases/sqlite')
-rw-r--r-- | databases/sqlite/Makefile | 26 | ||||
-rw-r--r-- | databases/sqlite/distinfo | 5 | ||||
-rw-r--r-- | databases/sqlite/patches/patch-aa | 22 | ||||
-rw-r--r-- | databases/sqlite/pkg/DESCR | 10 | ||||
-rw-r--r-- | databases/sqlite/pkg/PLIST | 8 |
5 files changed, 71 insertions, 0 deletions
diff --git a/databases/sqlite/Makefile b/databases/sqlite/Makefile new file mode 100644 index 00000000000..f16593c1d0d --- /dev/null +++ b/databases/sqlite/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/10/16 16:20:08 jlam Exp $ + +DISTNAME= sqlite-2.0.5 +CATEGORIES= databases +MASTER_SITES= http://www.hwaci.com/sw/sqlite/ + +MAINTAINER= jlam@netbsd.org +HOMEPAGE= http://www.hwaci.com/sw/sqlite/ +COMMENT= SQL Database Engine In A C Library + +WRKSRC= ${WRKDIR}/sqlite-build + +USE_BUILDLINK_ONLY= YES +USE_LIBTOOL= YES +LIBTOOL_OVERRIDE= ${WRKSRC}/libtool + +GNU_CONFIGURE= YES +CONFIGURE_SCRIPT= ../sqlite/configure +CONFIGURE_ARGS+= --without-tcl +CONFIGURE_ENV+= config_TARGET_READLINE_INC="-I${BUILDLINK_DIR}/include" + +post-extract: + ${MKDIR} ${WRKSRC} + +.include "../../devel/readline/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/sqlite/distinfo b/databases/sqlite/distinfo new file mode 100644 index 00000000000..4271ffa16c8 --- /dev/null +++ b/databases/sqlite/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/10/16 16:20:08 jlam Exp $ + +SHA1 (sqlite-2.0.5.tar.gz) = 9a1902380e3c06076561b343b7e1848c5f3642c7 +Size (sqlite-2.0.5.tar.gz) = 588792 bytes +SHA1 (patch-aa) = 2a715924e84b4f047e510fdb038a6857ead6e50e diff --git a/databases/sqlite/patches/patch-aa b/databases/sqlite/patches/patch-aa new file mode 100644 index 00000000000..67d782195ae --- /dev/null +++ b/databases/sqlite/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 16:20:08 jlam Exp $ + +--- ../sqlite/configure.orig Thu Sep 27 21:34:44 2001 ++++ ../sqlite/configure +@@ -13341,7 +13341,7 @@ + rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext + if test "$ac_cv_search_readline" = no; then + for ac_lib in readline; do +- LIBS="-l$ac_lib $ac_func_search_save_LIBS" ++ LIBS="-l$ac_lib -ltermcap $ac_func_search_save_LIBS" + cat >conftest.$ac_ext <<_ACEOF + #line 13346 "configure" + #include "confdefs.h" +@@ -13373,7 +13373,7 @@ + ac_status=$? + echo "$as_me:13374: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then +- ac_cv_search_readline="-l$ac_lib" ++ ac_cv_search_readline="${LDFLAGS} -l$ac_lib -ltermcap" + break + else + echo "$as_me: failed program was:" >&5 diff --git a/databases/sqlite/pkg/DESCR b/databases/sqlite/pkg/DESCR new file mode 100644 index 00000000000..f83129be07c --- /dev/null +++ b/databases/sqlite/pkg/DESCR @@ -0,0 +1,10 @@ +SQLite is a C library that implements an SQL database engine. Programs +that link with the SQLite library can have SQL database access without +running a separate RDBMS process. The distribution comes with a standalone +command-line access program (sqlite) that can be used to administer an +SQLite database and which serves as an example of how to use the SQLite +library. + +SQLite is not a client library used to connect to a big database server. +SQLite is the server. The SQLite library reads and writes directly to and +from the database files on disk. diff --git a/databases/sqlite/pkg/PLIST b/databases/sqlite/pkg/PLIST new file mode 100644 index 00000000000..144b460af5d --- /dev/null +++ b/databases/sqlite/pkg/PLIST @@ -0,0 +1,8 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/10/16 16:20:08 jlam Exp $ +bin/sqlite +include/sqlite.h +lib/libsqlite.a +lib/libsqlite.la +lib/libsqlite.so +lib/libsqlite.so.0 +lib/libsqlite.so.0.0 |