summaryrefslogtreecommitdiff
path: root/repo/lmdbxx
diff options
context:
space:
mode:
Diffstat (limited to 'repo/lmdbxx')
-rw-r--r--repo/lmdbxx/lmdbxx.xibuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/repo/lmdbxx/lmdbxx.xibuild b/repo/lmdbxx/lmdbxx.xibuild
new file mode 100644
index 0000000..82d6f85
--- /dev/null
+++ b/repo/lmdbxx/lmdbxx.xibuild
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+NAME="lmdbxx"
+DESC="C++17 wrapper for the LMDB database library"
+
+MAKEDEPS="doxygen"
+
+PKG_VER=1.0.0
+SOURCE="https://github.com/hoytech/lmdbxx/archive/$PKG_VER/lmdbxx-$PKG_VER.tar.gz"
+
+build() {
+ make doxygen
+}
+
+
+package() {
+ make DESTDIR="$PKG_DEST" PREFIX=/usr install
+ install -dm755 "$PKG_DEST"/usr/share/doc/lmdbxx
+ mv .doxygen/html "$PKG_DEST"/usr/share/doc/lmdbxx/
+}
+