summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-16 16:20:08 +0000
committerjlam <jlam@pkgsrc.org>2001-10-16 16:20:08 +0000
commit1171e3a7ee2ad733f24141c63310a66352a324ca (patch)
tree0ad55b0bdc80e7d03521850b5f70ed96c77d21ff
parent1955bc938f406a2e79f58c34b95711441af0330d (diff)
downloadpkgsrc-1171e3a7ee2ad733f24141c63310a66352a324ca.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.
-rw-r--r--databases/sqlite/Makefile26
-rw-r--r--databases/sqlite/distinfo5
-rw-r--r--databases/sqlite/patches/patch-aa22
-rw-r--r--databases/sqlite/pkg/DESCR10
-rw-r--r--databases/sqlite/pkg/PLIST8
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