curl: Update from 7.48 to 7.49
[termux-packages] / packages / protobuf / build.sh
CommitLineData
59f0d218
FF
1TERMUX_PKG_HOMEPAGE=https://code.google.com/p/protobuf/
2TERMUX_PKG_DESCRIPTION="Library for encoding structured data in an efficient yet extensible format"
3TERMUX_PKG_VERSION=2.6.1
8ffb4cc2 4TERMUX_PKG_BUILD_REVISION=1
59f0d218
FF
5TERMUX_PKG_SRCURL=https://github.com/google/protobuf/releases/download/v${TERMUX_PKG_VERSION}/protobuf-${TERMUX_PKG_VERSION}.tar.bz2
6# Build a host build first and use the host build protoc:
7TERMUX_PKG_HOSTBUILD=yes
8TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-protoc=$TERMUX_PKG_HOSTBUILD_DIR/src/protoc"
8ffb4cc2
FF
9# Link against libgnustl_shared.so so that other C++ programs that
10# uses protobuf (e.g. mosh) may use libgnustl_shared.so.
11TERMUX_PKG_DEPENDS="libgnustl"
12
13LDFLAGS+=" -lgnustl_shared"