Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
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.
This is sqlite3, the current stable version.
+48
View File
@@ -0,0 +1,48 @@
# $NetBSD: Makefile,v 1.66 2013/05/20 19:17:15 adam Exp $
DISTNAME= sqlite-autoconf-3071700
PKGNAME= sqlite3-3.7.17
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/2013/ \
http://www.sqlite.org/2013/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.sqlite.org/
COMMENT= SQL Database Engine in a C Library
LICENSE= public-domain
.include "options.mk"
USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= sqlite3.pc.in
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
.include "../../mk/bsd.prefs.mk"
# In the past, Linux had database corruption issues with pread, so
# only enable it on safe platforms.
CFLAGS.NetBSD+= -DUSE_PREAD
# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
.if !empty(MACHINE_PLATFORM:MDarwin-[0-8].*-*)
CFLAGS+= -DSQLITE_ENABLE_LOCKING_STYLE=0
.endif
# This define includes the sqlite3_unlock_notify() API in the build.
# It is required by Firefox 4.x.
CFLAGS+= -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
# The following are defined in the NetBSD builtin version.
CFLAGS+= -DSQLITE_ENABLE_COLUMN_METADATA
CFLAGS+= -DSQLITE_ENABLE_LOAD_EXTENSION
# Uses dlopen and friends but doesn't use -ldl on Linux.
# See http://www.sqlite.org/cvstrac/tktview?tn=3555
LIBS+= ${BUILDLINK_LDADD.dl}
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
+7
View File
@@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.4 2007/01/11 19:08:48 drochner Exp $
bin/sqlite3
include/sqlite3.h
include/sqlite3ext.h
lib/libsqlite3.la
lib/pkgconfig/sqlite3.pc
man/man1/sqlite3.1
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: buildlink3.mk,v 1.13 2013/05/09 07:39:05 adam Exp $
BUILDLINK_TREE+= sqlite3
.if !defined(SQLITE3_BUILDLINK3_MK)
SQLITE3_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.0.8
BUILDLINK_ABI_DEPENDS.sqlite3+= sqlite3>=3.7.16.2nb1
BUILDLINK_PKGSRCDIR.sqlite3?= ../../databases/sqlite3
pkgbase:= sqlite3
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.sqlite3:Micu)
.include "../../textproc/icu/buildlink3.mk"
.endif
.endif # SQLITE3_BUILDLINK3_MK
BUILDLINK_TREE+= -sqlite3
+23
View File
@@ -0,0 +1,23 @@
# $NetBSD: builtin.mk,v 1.3 2012/03/20 21:00:47 adam Exp $
BUILTIN_PKG:= sqlite3
PKGCONFIG_FILE.sqlite3= /usr/lib/pkgconfig/sqlite3.pc
PKGCONFIG_BASE.sqlite3= /usr
.include "../../mk/buildlink3/pkgconfig-builtin.mk"
###
### The section below only applies if we are not including this file
### solely to determine whether a built-in implementation exists.
###
CHECK_BUILTIN.sqlite3?= no
.if !empty(CHECK_BUILTIN.sqlite3:M[nN][oO])
. if !empty(USE_BUILTIN.sqlite3:M[yY][eE][sS])
BUILDLINK_PREFIX.sqlite3= /usr
BUILDLINK_FILES.sqlite3+= lib/pkgconfig/sqlite3.pc
. endif
.endif # CHECK_BUILTIN.sqlite3
+5
View File
@@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.78 2013/05/20 19:17:15 adam Exp $
SHA1 (sqlite-autoconf-3071700.tar.gz) = e31958e56b1d7bef9433b1ff2e875c8c290d37f4
RMD160 (sqlite-autoconf-3071700.tar.gz) = bf8dc7ac0148733f2890ac4a49be26b01e3083ba
Size (sqlite-autoconf-3071700.tar.gz) = 1876108 bytes
+21
View File
@@ -0,0 +1,21 @@
# $NetBSD: options.mk,v 1.5 2012/12/14 19:36:37 drochner Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sqlite3
PKG_SUPPORTED_OPTIONS= fts icu rtree
PKG_SUGGESTED_OPTIONS= fts # enabled in NetBSD builtin version
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfts)
CFLAGS+= -DSQLITE_ENABLE_FTS4=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS=1
.endif
.if !empty(PKG_OPTIONS:Micu)
CFLAGS+= -DSQLITE_ENABLE_ICU=1
LDFLAGS+= -licui18n -licuuc -licudata
.include "../../textproc/icu/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mrtree)
CFLAGS+= -DSQLITE_ENABLE_RTREE=1
.endif