Initial push
[termux-packages] / packages / protobuf / build.sh
1 TERMUX_PKG_HOMEPAGE=https://code.google.com/p/protobuf/
2 TERMUX_PKG_DESCRIPTION="Library for encoding structured data in an efficient yet extensible format"
3 TERMUX_PKG_VERSION=2.6.1
4 TERMUX_PKG_SRCURL=https://github.com/google/protobuf/releases/download/v${TERMUX_PKG_VERSION}/protobuf-${TERMUX_PKG_VERSION}.tar.bz2
5 # Build a host build first and use the host build protoc:
6 TERMUX_PKG_HOSTBUILD=yes
7 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-protoc=$TERMUX_PKG_HOSTBUILD_DIR/src/protoc"