C++17 wrapper for Lightning Memory-Mapped Database OK sthen@
This commit is contained in:
parent
46e2e15a4e
commit
c40d375bed
41
databases/lmdbxx/Makefile
Normal file
41
databases/lmdbxx/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2021/11/21 16:09:40 gonzalo Exp $
|
||||
|
||||
COMMENT = C++17 wrapper for Lightning Memory-Mapped Database
|
||||
|
||||
VERSION = 1.0.0
|
||||
DISTNAME = lmdbxx-${VERSION}
|
||||
|
||||
CATEGORIES = databases
|
||||
|
||||
GH_ACCOUNT = hoytech
|
||||
GH_PROJECT = lmdbxx
|
||||
#GH_TAGNAME = 1.0.0
|
||||
GH_COMMIT = f1f00acf5f5045b43d7189c2b23ae5ca103a6faa
|
||||
|
||||
HOMEPAGE = https://github.com/hoytech/lmdbxx
|
||||
|
||||
MAINTAINER = Aisha Tammy <openbsd@aisha.cc>
|
||||
|
||||
# Unlicense
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
NO_BUILD = Yes
|
||||
|
||||
RUN_DEPENDS = databases/lmdb
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lmdbxx
|
||||
${INSTALL_DATA} ${WRKSRC}/lmdb++.h ${PREFIX}/include
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/lmdbxx/README
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} && \
|
||||
rm -rf testdb && \
|
||||
mkdir -p testdb && \
|
||||
${CXX} ${CXXFLAGS} -std=c++17 -Wall -I${LOCALBASE}/include -I. \
|
||||
-o check check.cc ${LDFLAGS} -L${LOCALBASE}/lib -llmdb && \
|
||||
./check
|
||||
|
||||
.include <bsd.port.mk>
|
2
databases/lmdbxx/distinfo
Normal file
2
databases/lmdbxx/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (lmdbxx-1.0.0-f1f00acf.tar.gz) = hcZXFqDBZaZ8N3t6DP6m5mMypWnY2kadLD49v5mwSZo=
|
||||
SIZE (lmdbxx-1.0.0-f1f00acf.tar.gz) = 53347
|
3
databases/lmdbxx/pkg/DESCR
Normal file
3
databases/lmdbxx/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
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.
|
4
databases/lmdbxx/pkg/PLIST
Normal file
4
databases/lmdbxx/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/11/21 16:09:40 gonzalo Exp $
|
||||
include/lmdb++.h
|
||||
share/doc/lmdbxx/
|
||||
share/doc/lmdbxx/README
|
Loading…
Reference in New Issue
Block a user