0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 01:50:33 +00:00

18 lines
654 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/couchbase/forestdb
TERMUX_PKG_DESCRIPTION="A key-value storage engine"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.2
TERMUX_PKG_SRCURL=https://github.com/couchbase/forestdb/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=52463e4e3bd94ff70503b8a278ec0304c13acb6862e5d5fd3d2b3f05e60b7aa0
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
TERMUX_PKG_DEPENDS="libsnappy"
termux_step_post_configure() {
if [ "$TERMUX_CMAKE_BUILD" == "Ninja" ]; then
sed -i -e 's:\$INCLUDES:& -I'$TERMUX_PREFIX'/include:g' \
CMakeFiles/rules.ninja
fi
}