19 lines
628 B
Bash
19 lines
628 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/google/protobuf
|
|
TERMUX_PKG_DESCRIPTION="Protocol buffers C++ library"
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
|
TERMUX_PKG_VERSION=3.11.3
|
|
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852
|
|
TERMUX_PKG_DEPENDS="libc++, zlib"
|
|
TERMUX_PKG_BREAKS="libprotobuf-dev"
|
|
TERMUX_PKG_REPLACES="libprotobuf-dev"
|
|
TERMUX_PKG_FORCE_CMAKE=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-Dprotobuf_BUILD_TESTS=OFF
|
|
-DBUILD_SHARED_LIBS=ON
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
TERMUX_PKG_SRCDIR+="/cmake/"
|
|
}
|