termux-packages/packages/libprotobuf-c/build.sh

17 lines
694 B
Bash
Raw Normal View History

2019-04-11 21:39:09 +02:00
TERMUX_PKG_HOMEPAGE=https://github.com/protobuf-c/protobuf-c
TERMUX_PKG_DESCRIPTION="Protocol buffers C library"
2022-02-28 03:31:17 +01:00
TERMUX_PKG_LICENSE="BSD 2-Clause"
2019-04-11 21:39:09 +02:00
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
2022-02-28 03:31:17 +01:00
TERMUX_PKG_VERSION=1.4.0
2019-04-11 21:39:09 +02:00
TERMUX_PKG_SRCURL=https://github.com/protobuf-c/protobuf-c/releases/download/v${TERMUX_PKG_VERSION}/protobuf-c-${TERMUX_PKG_VERSION}.tar.gz
2022-02-28 03:31:17 +01:00
TERMUX_PKG_SHA256=26d98ee9bf18a6eba0d3f855ddec31dbe857667d269bc0b6017335572f85bbcb
TERMUX_PKG_AUTO_UPDATE=true
2019-06-19 23:27:00 +02:00
TERMUX_PKG_DEPENDS="libc++, libprotobuf, protobuf"
TERMUX_PKG_BREAKS="libprotobuf-c-dev"
TERMUX_PKG_REPLACES="libprotobuf-c-dev"
2022-02-28 03:31:17 +01:00
termux_step_pre_configure() {
termux_setup_protobuf
export PROTOC=$(command -v protoc)
}