termux-packages/packages/libmariadbcpp/build.sh
Yaksh Bariya 1bfc5f9865 revbump all remaining packages that depend on openssl
%ci:no-build

Manual rebuilds will be triggered for all the packages
2022-02-26 04:25:43 +00:00

24 lines
806 B
Bash

TERMUX_PKG_HOMEPAGE=https://mariadb.com/docs/clients/mariadb-connectors/connector-cpp/
TERMUX_PKG_DESCRIPTION="Enables C++ applications to establish client connections to MariaDB Enterprise over TLS"
TERMUX_PKG_LICENSE="LGPL-2.1"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/mariadb-corporation/mariadb-connector-cpp.git
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
TERMUX_PKG_DEPENDS="libc++, openssl, zlib"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DINSTALL_LIB_SUFFIX=lib
-DINSTALL_LIBDIR=lib/mariadbcpp
-DINSTALL_PLUGINDIR=lib/mariadbcpp/plugin
-DWITH_EXTERNAL_ZLIB=ON
"
termux_step_post_get_source() {
git submodule update --init --recursive
}
termux_step_pre_configure() {
LDFLAGS="-Wl,-rpath=$TERMUX_PREFIX/lib/mariadbcpp $LDFLAGS"
}