pkgsrc-Changes-HG archive

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

pkgsrc: databases/SQLiteCpp: Import version 2.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7aa727347883
branches:  trunk
changeset: 306341:7aa727347883
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Apr 15 01:05:48 2018 +0000
description:
databases/SQLiteCpp: Import version 2.2.0

SQLiteC++ offers an encapsulation arround the native C APIs of SQLite,
with a few intuitive and well documented C++ class.  It is designed
using the Resource Acquisition Is Initialization (RAII) idom, and
throwing exceptions in case of SQLite errors (exept in destructors,
where assert() are used instead).  Each SQLiteC++ object must be
constructed with a valid SQLite database connection, and then is
always valid until destroyed.

diffstat:

 databases/SQLiteCpp/DESCR         |   7 +++++++
 databases/SQLiteCpp/Makefile      |  24 ++++++++++++++++++++++++
 databases/SQLiteCpp/PLIST         |  17 +++++++++++++++++
 databases/SQLiteCpp/buildlink3.mk |  15 +++++++++++++++
 databases/SQLiteCpp/distinfo      |   6 ++++++
 5 files changed, 69 insertions(+), 0 deletions(-)

diffs (89 lines):

diff -r 9c711bd2ae61 -r 7aa727347883 databases/SQLiteCpp/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/SQLiteCpp/DESCR Sun Apr 15 01:05:48 2018 +0000
@@ -0,0 +1,7 @@
+SQLiteC++ offers an encapsulation arround the native C APIs of SQLite,
+with a few intuitive and well documented C++ class.  It is designed
+using the Resource Acquisition Is Initialization (RAII) idom, and
+throwing exceptions in case of SQLite errors (exept in destructors,
+where assert() are used instead).  Each SQLiteC++ object must be
+constructed with a valid SQLite database connection, and then is
+always valid until destroyed.
diff -r 9c711bd2ae61 -r 7aa727347883 databases/SQLiteCpp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/SQLiteCpp/Makefile      Sun Apr 15 01:05:48 2018 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/04/15 01:05:48 minskim Exp $
+
+DISTNAME=      SQLiteCpp-2.2.0
+CATEGORIES=    databases
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=SRombauts/}
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://srombauts.github.io/SQLiteCpp/
+COMMENT=       C++ SQLite3 wrapper
+LICENSE=       mit
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+
+.include "../../databases/sqlite3/buildlink3.mk"
+
+post-install:
+.for f in CHANGELOG.txt LICENSE.txt README.md TODO.txt
+       ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 9c711bd2ae61 -r 7aa727347883 databases/SQLiteCpp/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/SQLiteCpp/PLIST Sun Apr 15 01:05:48 2018 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2018/04/15 01:05:48 minskim Exp $
+include/SQLiteCpp/Assertion.h
+include/SQLiteCpp/Backup.h
+include/SQLiteCpp/Column.h
+include/SQLiteCpp/Database.h
+include/SQLiteCpp/Exception.h
+include/SQLiteCpp/SQLiteCpp.h
+include/SQLiteCpp/Statement.h
+include/SQLiteCpp/Transaction.h
+include/SQLiteCpp/VariadicBind.h
+lib/cmake/SQLiteCpp/SQLiteCppConfig-noconfig.cmake
+lib/cmake/SQLiteCpp/SQLiteCppConfig.cmake
+lib/libSQLiteCpp.a
+share/doc/SQLiteCpp/CHANGELOG.txt
+share/doc/SQLiteCpp/LICENSE.txt
+share/doc/SQLiteCpp/README.md
+share/doc/SQLiteCpp/TODO.txt
diff -r 9c711bd2ae61 -r 7aa727347883 databases/SQLiteCpp/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/SQLiteCpp/buildlink3.mk Sun Apr 15 01:05:48 2018 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/04/15 01:05:48 minskim Exp $
+
+BUILDLINK_TREE+=       SQLiteCpp
+
+.if !defined(SQLITECPP_BUILDLINK3_MK)
+SQLITECPP_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.SQLiteCpp+=      SQLiteCpp>=2.2.0
+BUILDLINK_DEPMETHOD.SQLiteCpp?=                build
+BUILDLINK_PKGSRCDIR.SQLiteCpp?=                ../../databases/SQLiteCpp
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.endif # SQLITECPP_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -SQLiteCpp
diff -r 9c711bd2ae61 -r 7aa727347883 databases/SQLiteCpp/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/SQLiteCpp/distinfo      Sun Apr 15 01:05:48 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/04/15 01:05:48 minskim Exp $
+
+SHA1 (SQLiteCpp-2.2.0.tar.gz) = 6501619f2a6322d6a2f1948d20d5986a49b050c2
+RMD160 (SQLiteCpp-2.2.0.tar.gz) = 19f2761d842c60b9b6dd11c45ac2c0b521a5bae3
+SHA512 (SQLiteCpp-2.2.0.tar.gz) = 769857c50cc24596cbd7c6f057ca1e158a3bfecf00d7865d6ef0b90a2ff8ecb9ccb9e1d0e660bb9df8ecd50075a94a9bc9e3a71b96f2ef1c30780c6da9446cf0
+Size (SQLiteCpp-2.2.0.tar.gz) = 2141656 bytes



Home | Main Index | Thread Index | Old Index