2017-01-30 02:10:56 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/google/protobuf
|
|
|
|
TERMUX_PKG_DESCRIPTION="Protocol buffers C++ library"
|
2017-05-23 01:00:06 +02:00
|
|
|
TERMUX_PKG_VERSION=3.3.0
|
2017-02-02 02:10:23 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/google/protobuf/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2017-05-23 01:00:06 +02:00
|
|
|
TERMUX_PKG_SHA256=94c414775f275d876e5e0e4a276527d155ab2d0da45eed6b7734301c330be36e
|
2017-01-30 02:10:56 +01:00
|
|
|
TERMUX_PKG_FOLDERNAME=protobuf-$TERMUX_PKG_VERSION
|
|
|
|
TERMUX_PKG_HOSTBUILD=yes
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-protoc=$TERMUX_PKG_HOSTBUILD_DIR/src/protoc"
|
2017-02-02 02:10:23 +01:00
|
|
|
# We extracted libprotobuf from protobuf earlier:
|
2017-01-30 02:10:56 +01:00
|
|
|
TERMUX_PKG_CONFLICTS="protobuf (<= 3.0.0)"
|
2017-02-02 02:10:23 +01:00
|
|
|
|
|
|
|
termux_step_post_extract_package () {
|
|
|
|
./autogen.sh
|
|
|
|
}
|