summaryrefslogtreecommitdiff
path: root/databases/sqlite3/Makefile
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-11-21 16:58:05 +0000
committertnn <tnn@pkgsrc.org>2009-11-21 16:58:05 +0000
commit54b00eb9dbb2042d39bda32fb3450a7e6d4296c9 (patch)
tree401ac74aa167e65a510bb3c112ae4a3366139158 /databases/sqlite3/Makefile
parentdca38975293daa189397aa57cdc0c615b26e5356 (diff)
downloadpkgsrc-54b00eb9dbb2042d39bda32fb3450a7e6d4296c9.tar.gz
Switch to amalgamation style sqlite3 build. This is the recommended
way to build sqlite3 according to upstream. It should give a small performance increase due to static inlining, but more importantly lets us avoid manual maintenance of sqlite3.h. Bump revisions for sqlite3 and sqlite3-tcl.
Diffstat (limited to 'databases/sqlite3/Makefile')
-rw-r--r--databases/sqlite3/Makefile24
1 files changed, 19 insertions, 5 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile
index 8425dd9a894..c2865fdbe11 100644
--- a/databases/sqlite3/Makefile
+++ b/databases/sqlite3/Makefile
@@ -1,13 +1,27 @@
-# $NetBSD: Makefile,v 1.21 2009/11/13 18:28:42 adam Exp $
+# $NetBSD: Makefile,v 1.22 2009/11/21 16:58:05 tnn Exp $
+
+DISTNAME= sqlite-amalgamation-3.6.20
+PKGNAME= ${DISTNAME:S/sqlite-amalgamation/sqlite3/}
+PKGREVISION= 1
+CATEGORIES= databases
+MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
+ http://www.sqlite.org/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.sqlite.org/
+COMMENT= SQL Database Engine in a C Library
+LICENSE= public-domain
PKG_DESTDIR_SUPPORT= user-destdir
-.include "Makefile.common"
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/sqlite-${PKGVERSION_NOREV}
+
+PKGCONFIG_OVERRIDE+= sqlite3.pc.in
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
-CONFIGURE_ARGS+= --disable-tcl
-CONFIGURE_ENV+= ac_cv_prog_TCLSH_CMD=""
-CONFIGURE_ARGS+= --enable-load-extension
CONFIGURE_ARGS+= --with-readline-inc=
# Uses dlopen and friends but doesn't use -ldl on Linux.