summaryrefslogtreecommitdiff
path: root/repo/lmdbxx/lmdbxx.xibuild
blob: 82d6f85ab156e50c64f278170e32e23b56d67e6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/
}