summaryrefslogtreecommitdiff
path: root/databases/sqlite3
diff options
context:
space:
mode:
authortv <tv>2005-01-16 02:00:33 +0000
committertv <tv>2005-01-16 02:00:33 +0000
commit6f86d153d0cfb722d4e9f4e5fc6a51c16d87ae8c (patch)
tree97f0e844d201f056b84e6420886fce088e4d4847 /databases/sqlite3
parent5ea33e3722e10b7721f03b6647e534221ddac8d7 (diff)
downloadpkgsrc-6f86d153d0cfb722d4e9f4e5fc6a51c16d87ae8c.tar.gz
Import sqlite3-3.0.8, the next major release of sqlite. Resides in parallel
with sqlite version 2 (everything in this package ends in `3'). DESCR: 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/sqlite3')
-rw-r--r--databases/sqlite3/DESCR10
-rw-r--r--databases/sqlite3/Makefile27
-rw-r--r--databases/sqlite3/PLIST6
-rw-r--r--databases/sqlite3/buildlink3.mk18
-rw-r--r--databases/sqlite3/distinfo4
5 files changed, 65 insertions, 0 deletions
diff --git a/databases/sqlite3/DESCR b/databases/sqlite3/DESCR
new file mode 100644
index 00000000000..f83129be07c
--- /dev/null
+++ b/databases/sqlite3/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/sqlite3/Makefile b/databases/sqlite3/Makefile
new file mode 100644
index 00000000000..86d895c1493
--- /dev/null
+++ b/databases/sqlite3/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/16 02:00:33 tv Exp $
+
+DISTNAME= sqlite-3.0.8
+PKGNAME= ${DISTNAME:S/-/3-/}
+CATEGORIES= databases
+MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
+ http://www.sqlite.org/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.hwaci.com/sw/sqlite/
+COMMENT= SQL Database Engine in a C Library
+
+WRKSRC= ${WRKDIR}/sqlite
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-tcl
+
+PKGCONFIG_OVERRIDE= ${WRKDIR}/sqlite/sqlite3.pc.in
+
+post-install:
+ ${INSTALL_MAN} ${WRKSRC}/sqlite.1 ${PREFIX}/man/man1/sqlite3.1
+
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/sqlite3/PLIST b/databases/sqlite3/PLIST
new file mode 100644
index 00000000000..e050e33dbb7
--- /dev/null
+++ b/databases/sqlite3/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/16 02:00:33 tv Exp $
+bin/sqlite3
+include/sqlite3.h
+lib/libsqlite3.la
+lib/pkgconfig/sqlite3.pc
+man/man1/sqlite3.1
diff --git a/databases/sqlite3/buildlink3.mk b/databases/sqlite3/buildlink3.mk
new file mode 100644
index 00000000000..298df6449e6
--- /dev/null
+++ b/databases/sqlite3/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/01/16 02:00:33 tv Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SQLITE3_BUILDLINK3_MK:= ${SQLITE3_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= sqlite3
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nsqlite3}
+BUILDLINK_PACKAGES+= sqlite3
+
+.if !empty(SQLITE3_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.sqlite3+= sqlite3>=3.0.8
+BUILDLINK_PKGSRCDIR.sqlite3?= ../../databases/sqlite3
+.endif # SQLITE3_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/databases/sqlite3/distinfo b/databases/sqlite3/distinfo
new file mode 100644
index 00000000000..8aa929e2af2
--- /dev/null
+++ b/databases/sqlite3/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/16 02:00:33 tv Exp $
+
+SHA1 (sqlite-3.0.8.tar.gz) = 03720973e7b5ce6f621a330d1701bbab1a989202
+Size (sqlite-3.0.8.tar.gz) = 1288859 bytes