pkgsrc-WIP-changes archive

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

lmdbxx: add lmdbxx version 1.0.0



Module Name:	pkgsrc-wip
Committed By:	Stepan Ipatov <st.ipatov%gmail.com@localhost>
Pushed By:	st.ipatov
Date:		Thu Nov 20 06:55:19 2025 +0000
Changeset:	a712ca9fd31931e4e4a1b5dc1780c589098bf301

Modified Files:
	Makefile
Added Files:
	lmdbxx/COMMIT_MSG
	lmdbxx/DESCR
	lmdbxx/Makefile
	lmdbxx/PLIST
	lmdbxx/buildlink3.mk
	lmdbxx/distinfo

Log Message:
lmdbxx: add lmdbxx version 1.0.0

C++ wrapper for the LMDB embedded database library.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a712ca9fd31931e4e4a1b5dc1780c589098bf301

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |  1 +
 lmdbxx/COMMIT_MSG    |  3 +++
 lmdbxx/DESCR         |  3 +++
 lmdbxx/Makefile      | 20 ++++++++++++++++++++
 lmdbxx/PLIST         |  2 ++
 lmdbxx/buildlink3.mk | 14 ++++++++++++++
 lmdbxx/distinfo      |  5 +++++
 7 files changed, 48 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 4c71131bf9..db4e1b62a7 100644
--- a/Makefile
+++ b/Makefile
@@ -2283,6 +2283,7 @@ SUBDIR+=	lldb
 SUBDIR+=	llilc-git
 SUBDIR+=	llvm
 SUBDIR+=	lmdbg-current
+SUBDIR+=	lmdbxx
 SUBDIR+=	lnav
 SUBDIR+=	lnd
 SUBDIR+=	lodepng-git
diff --git a/lmdbxx/COMMIT_MSG b/lmdbxx/COMMIT_MSG
new file mode 100644
index 0000000000..1fb0df6d74
--- /dev/null
+++ b/lmdbxx/COMMIT_MSG
@@ -0,0 +1,3 @@
+databases/lmdbxx: add lmdbxx version 1.0.0
+
+C++ wrapper for the LMDB embedded database library.
diff --git a/lmdbxx/DESCR b/lmdbxx/DESCR
new file mode 100644
index 0000000000..3ae9c723a0
--- /dev/null
+++ b/lmdbxx/DESCR
@@ -0,0 +1,3 @@
+This is a comprehensive C++ wrapper for the LMDB embedded database library,
+offering both an error-checked procedural interface and an object-oriented
+resource interface with RAII semantics.
diff --git a/lmdbxx/Makefile b/lmdbxx/Makefile
new file mode 100644
index 0000000000..bbcc7da9eb
--- /dev/null
+++ b/lmdbxx/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME=	lmdbxx-1.0.0
+CATEGORIES=	databases
+MASTER_SITES=	${MASTER_SITE_GITHUB:=hoytech/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/hoytech/lmdbxx/
+COMMENT=	C++ wrapper for the LMDB embedded database library
+LICENSE=	unlicense
+
+USE_LANGUAGES=		# none
+NO_BUILD=		yes
+INSTALLATION_DIRS=	include
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/lmdb++.h ${DESTDIR}${PREFIX}/include/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lmdbxx/PLIST b/lmdbxx/PLIST
new file mode 100644
index 0000000000..8729b36f0d
--- /dev/null
+++ b/lmdbxx/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+include/lmdb++.h
diff --git a/lmdbxx/buildlink3.mk b/lmdbxx/buildlink3.mk
new file mode 100644
index 0000000000..82f2ee10e9
--- /dev/null
+++ b/lmdbxx/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	lmdbxx
+
+.if !defined(LMDBXX_BUILDLINK3_MK)
+LMDBXX_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.lmdbxx?=	build
+
+BUILDLINK_API_DEPENDS.lmdbxx+=	lmdbxx>=1.0.0
+BUILDLINK_PKGSRCDIR.lmdbxx?=	../../wip/lmdbxx
+.endif	# LMDBXX_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-lmdbxx
diff --git a/lmdbxx/distinfo b/lmdbxx/distinfo
new file mode 100644
index 0000000000..74d48b497d
--- /dev/null
+++ b/lmdbxx/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (lmdbxx-1.0.0.tar.gz) = bf74ad22404cdabb5498898deac0b594b5a0da59e701c9384678c36eb035d211
+SHA512 (lmdbxx-1.0.0.tar.gz) = 54f6c4863273b4de8aed6bc19f353c7a66d8ae633198e9784c55cea8e54460e4030ebe45e91a7c820aade084933f21cd4193ef8c04bb2aef11bf252281404171
+Size (lmdbxx-1.0.0.tar.gz) = 52441 bytes


Home | Main Index | Thread Index | Old Index