pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases Add databases/guile-sqlite3 version 0.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bc0268395eb7
branches:  trunk
changeset: 417558:bc0268395eb7
user:      ng0 <ng0%pkgsrc.org@localhost>
date:      Wed Nov 13 12:52:25 2019 +0000

description:
Add databases/guile-sqlite3 version 0.1.0

Guile bindings for the SQLite3 database engine.

diffstat:

 databases/Makefile                                 |   3 +-
 databases/guile-sqlite3/DESCR                      |   1 +
 databases/guile-sqlite3/Makefile                   |  28 ++++++++++++++++++++++
 databases/guile-sqlite3/PLIST                      |   3 ++
 databases/guile-sqlite3/distinfo                   |   7 +++++
 databases/guile-sqlite3/patches/patch-configure.ac |  15 +++++++++++
 6 files changed, 56 insertions(+), 1 deletions(-)

diffs (91 lines):

diff -r f538a496aecf -r bc0268395eb7 databases/Makefile
--- a/databases/Makefile        Wed Nov 13 12:46:14 2019 +0000
+++ b/databases/Makefile        Wed Nov 13 12:52:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.587 2019/11/10 14:42:43 ng0 Exp $
+# $NetBSD: Makefile,v 1.588 2019/11/13 12:52:25 ng0 Exp $
 
 COMMENT=       Databases
 
@@ -47,6 +47,7 @@
 SUBDIR+=       gtkdbfeditor
 SUBDIR+=       gtksql
 SUBDIR+=       guile-pg
+SUBDIR+=       guile-sqlite3
 SUBDIR+=       hiredis
 SUBDIR+=       hsqldb18
 SUBDIR+=       idzebra
diff -r f538a496aecf -r bc0268395eb7 databases/guile-sqlite3/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/guile-sqlite3/DESCR     Wed Nov 13 12:52:25 2019 +0000
@@ -0,0 +1,1 @@
+Guile bindings for the SQLite3 database engine.
diff -r f538a496aecf -r bc0268395eb7 databases/guile-sqlite3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/guile-sqlite3/Makefile  Wed Nov 13 12:52:25 2019 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2019/11/13 12:52:25 ng0 Exp $
+
+DISTNAME=      v0.1.0
+DIST_SUBDIR=   ${PKGNAME_NOREV}
+PKGNAME=       guile-sqlite3-${DISTNAME:S/v//}
+CATEGORIES=    databases
+MASTER_SITES=  https://notabug.org/guile-sqlite3/guile-sqlite3/archive/
+
+MAINTAINER=    ng0%NetBSD.org@localhost
+HOMEPAGE=      https://notabug.org/guile-sqlite3/guile-sqlite3/
+COMMENT=       Guile bindings for the SQLite3 database engine
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                        ${WRKDIR}/guile-sqlite3
+USE_LANGUAGES=         c
+USE_TOOLS+=            pkg-config
+GNU_CONFIGURE=         YES
+GUILE_NEED_BOOTSTRAP=  YES
+
+# not all sqlite3.pc files provide the pkg-config variable, set path manually
+# see also patch-configure.ac
+CONFIGURE_ARGS+=       SQLITE_LIBDIR=${BUILDLINK_PREFIX.sqlite3}/lib
+
+TEST_TARGET=           check
+
+.include "../../lang/guile22/module.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f538a496aecf -r bc0268395eb7 databases/guile-sqlite3/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/guile-sqlite3/PLIST     Wed Nov 13 12:52:25 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/13 12:52:25 ng0 Exp $
+guile/2.2/lib/guile/2.2/site-ccache/sqlite3.go
+guile/2.2/share/guile/site/2.2/sqlite3.scm
diff -r f538a496aecf -r bc0268395eb7 databases/guile-sqlite3/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/guile-sqlite3/distinfo  Wed Nov 13 12:52:25 2019 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/11/13 12:52:25 ng0 Exp $
+
+SHA1 (guile-sqlite3-0.1.0/v0.1.0.tar.gz) = faee70ad63a55709fa057b54968fc62872d366fe
+RMD160 (guile-sqlite3-0.1.0/v0.1.0.tar.gz) = 78865cb43aca970e107a258a74964f69a0bb8e20
+SHA512 (guile-sqlite3-0.1.0/v0.1.0.tar.gz) = 8c1f58024c464e5628162e3ba1bf129809403bcc5d2329b55b6628f419ff8d5ead21d87f0bdcbb458ce5798d62184af177616bbfbeb653c34450c716f6b3ab26
+Size (guile-sqlite3-0.1.0/v0.1.0.tar.gz) = 23832 bytes
+SHA1 (patch-configure.ac) = c848428774814382fd9147835efca397aa0682e8
diff -r f538a496aecf -r bc0268395eb7 databases/guile-sqlite3/patches/patch-configure.ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/guile-sqlite3/patches/patch-configure.ac        Wed Nov 13 12:52:25 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2019/11/13 12:52:25 ng0 Exp $
+
+Override SQLITE_LIBDIR detection.
+
+--- configure.ac.orig  2018-06-27 07:44:03.000000000 +0000
++++ configure.ac
+@@ -18,7 +18,7 @@ GUILE_PKG([2.2 2.0])
+ GUILE_PROGS
+ 
+ PKG_CHECK_MODULES([SQLITE], [sqlite3])
+-SQLITE_LIBDIR="`"$PKG_CONFIG" sqlite3 --variable libdir`"
++#SQLITE_LIBDIR="`"$PKG_CONFIG" sqlite3 --variable libdir`"
+ AC_SUBST([SQLITE_LIBDIR])
+ 
+ AC_MSG_CHECKING([whether '$SQLITE_LIBDIR/libsqlite3' is usable])



Home | Main Index | Thread Index | Old Index