2017-01-30 02:10:56 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/google/protobuf
|
|
|
|
TERMUX_PKG_DESCRIPTION="Protocol buffers C++ library"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2020-06-06 19:42:09 +02:00
|
|
|
TERMUX_PKG_VERSION=3.12.3
|
2017-02-02 02:10:23 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2020-06-06 19:42:09 +02:00
|
|
|
TERMUX_PKG_SHA256=71030a04aedf9f612d2991c1c552317038c3c5a2b578ac4745267a45e7037c29
|
2019-06-19 23:27:00 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, zlib"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="libprotobuf-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libprotobuf-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_FORCE_CMAKE=true
|
2019-05-12 00:08:10 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-Dprotobuf_BUILD_TESTS=OFF
|
|
|
|
-DBUILD_SHARED_LIBS=ON
|
|
|
|
"
|
2017-02-02 02:10:23 +01:00
|
|
|
|
2019-05-12 00:08:10 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
TERMUX_PKG_SRCDIR+="/cmake/"
|
2017-02-02 02:10:23 +01:00
|
|
|
}
|