termux-packages/packages/protobuf/build.sh
Fredrik Fornwall 5b612323c6 protobuf: Remove libgnustl_shared.so setup
It is no longer needed to link against libgnustl_shared.so
explicitly, it is done automatically for all C++ code.
2016-06-21 16:57:01 -04:00

9 lines
510 B
Bash
Executable File

TERMUX_PKG_HOMEPAGE=https://code.google.com/p/protobuf/
TERMUX_PKG_DESCRIPTION="Library for encoding structured data in an efficient yet extensible format"
TERMUX_PKG_VERSION=2.6.1
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/releases/download/v${TERMUX_PKG_VERSION}/protobuf-${TERMUX_PKG_VERSION}.tar.bz2
# Build a host build first and use the host build protoc:
TERMUX_PKG_HOSTBUILD=yes
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-protoc=$TERMUX_PKG_HOSTBUILD_DIR/src/protoc"