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
databases/sqlite/DESCR Normal file
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 version 2 of sqlite, which is essentially obsolete.

42
databases/sqlite/Makefile Normal file
View File

@@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.44 2013/02/21 15:14:45 gdt Exp $
DISTNAME= sqlite-2.8.17
PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://www.hwaci.com/sw/sqlite/ \
http://www.sqlite.org/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.hwaci.com/sw/sqlite/
COMMENT= SQL Database Engine in a C Library
USE_TOOLS+= gmake
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
OBJDIR= ../sqlite-build
CONFIGURE_ARGS+= --without-tcl
CONFIGURE_ENV+= config_TARGET_READLINE_INC="-I${BUILDLINK_PREFIX.readline}/include"
.include "../../mk/bsd.prefs.mk"
.if (${OPSYS} == "SunOS")
CFLAGS+= -DUINT32_TYPE=uint32_t -DUINT16_TYPE=uint16_t \
-DUINT8_TYPE=uint8_t -DINTPTR_TYPE=long
.else
CFLAGS+= -DUINT32_TYPE=u_int32_t -DUINT16_TYPE=u_int16_t \
-DUINT8_TYPE=u_int8_t -DINTPTR_TYPE=long
.endif
PKGCONFIG_OVERRIDE= sqlite.pc.in
INSTALLATION_DIRS= ${PKGMANDIR}/man1
post-extract:
${RUN} cd ${WRKSRC} && ${MKDIR} ${OBJDIR}
post-install:
${INSTALL_MAN} ${WRKSRC}/sqlite.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

6
databases/sqlite/PLIST Normal file
View File

@@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2004/09/22 08:09:23 jlam Exp $
bin/sqlite
include/sqlite.h
lib/libsqlite.la
lib/pkgconfig/sqlite.pc
man/man1/sqlite.1

View File

@@ -0,0 +1,13 @@
# $NetBSD: buildlink3.mk,v 1.8 2009/03/20 19:24:07 joerg Exp $
BUILDLINK_TREE+= sqlite
.if !defined(SQLITE_BUILDLINK3_MK)
SQLITE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.sqlite+= sqlite>=2.8.0
BUILDLINK_ABI_DEPENDS.sqlite+= sqlite>=2.8.16nb1
BUILDLINK_PKGSRCDIR.sqlite?= ../../databases/sqlite
.endif # SQLITE_BUILDLINK3_MK
BUILDLINK_TREE+= -sqlite

View File

@@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.22 2013/01/04 13:33:42 jperkin Exp $
SHA1 (sqlite-2.8.17.tar.gz) = 75db1cf3b00ea18ae8528e676fc9fdf698e2fe58
RMD160 (sqlite-2.8.17.tar.gz) = f13edcb0c2f7246e97ea7443de1758b4442a9483
Size (sqlite-2.8.17.tar.gz) = 969805 bytes
SHA1 (patch-aa) = 4df2eff8c92b3e2bff86c710ef1a803d54201559
SHA1 (patch-ab) = 00b7de05589fb62d511e26d0d864a8b5545967c8

View File

@@ -0,0 +1,10 @@
$NetBSD: patch-aa,v 1.10 2013/01/04 13:33:43 jperkin Exp $
--- src/sqliteInt.h.orig 2005-02-14 01:22:06.000000000 +0100
+++ src/sqliteInt.h
@@ -15,4 +15,5 @@
*/
#include "config.h"
+#include "os.h"
#include "sqlite.h"
#include "hash.h"

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-ab,v 1.10 2013/01/04 13:33:43 jperkin Exp $
--- configure.orig 2005-02-14 01:22:04.000000000 +0100
+++ configure
@@ -18376,8 +18376,8 @@ if test "$program_prefix" = "NONE"; then
fi
-if test -f VERSION; then
- VERSION=`cat VERSION`
+if test -f $srcdir/VERSION; then
+ VERSION=`cat $srcdir/VERSION`
echo "Version set to $VERSION"
fi