summaryrefslogtreecommitdiff
path: root/repo/lmdbxx/lmdbxx.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
committerdavidovski <david@davidovski.xyz>2022-06-06 21:25:48 +0000
commitccc722b7ed330198d82a3cf28ead76d6d107a70a (patch)
tree7611b3cc4f3ca681524fa28b174a0253eb802e0e /repo/lmdbxx/lmdbxx.xibuild
parent9ee32689f0b57b9e1de6d22c84ce8e3700b6122b (diff)
added java
Diffstat (limited to 'repo/lmdbxx/lmdbxx.xibuild')
-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/
+}
+