termux-packages/packages/libsearpc/build.sh

16 lines
586 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/libsearpc
TERMUX_PKG_DESCRIPTION="A simple C language RPC framework (mainly for seafile)"
2019-07-25 16:20:39 +02:00
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=1:3.2.0
2020-11-08 21:46:23 +01:00
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=cd00197fcc40b45b1d5e892b2d08dfa5947f737e0d80f3ef26419334e75b0bff
2020-11-08 21:46:23 +01:00
TERMUX_PKG_DEPENDS="glib, libjansson, python"
TERMUX_PKG_BREAKS="libsearpc-dev"
TERMUX_PKG_REPLACES="libsearpc-dev"
termux_step_post_get_source() {
./autogen.sh
2020-11-08 21:46:23 +01:00
export PYTHON="python3.9"
}