libsearpc: build for python3.9
This commit is contained in:
parent
df709384a2
commit
6f1fc76026
@ -2,12 +2,14 @@ TERMUX_PKG_HOMEPAGE=https://github.com/haiwen/libsearpc
|
|||||||
TERMUX_PKG_DESCRIPTION="A simple C language RPC framework (mainly for seafile)"
|
TERMUX_PKG_DESCRIPTION="A simple C language RPC framework (mainly for seafile)"
|
||||||
TERMUX_PKG_LICENSE="Apache-2.0"
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
||||||
TERMUX_PKG_VERSION=1:3.2.0
|
TERMUX_PKG_VERSION=1:3.2.0
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/libsearpc/archive/v${TERMUX_PKG_VERSION:2}.tar.gz
|
||||||
TERMUX_PKG_SHA256=cd00197fcc40b45b1d5e892b2d08dfa5947f737e0d80f3ef26419334e75b0bff
|
TERMUX_PKG_SHA256=cd00197fcc40b45b1d5e892b2d08dfa5947f737e0d80f3ef26419334e75b0bff
|
||||||
TERMUX_PKG_DEPENDS="glib, libjansson"
|
TERMUX_PKG_DEPENDS="glib, libjansson, python"
|
||||||
TERMUX_PKG_BREAKS="libsearpc-dev"
|
TERMUX_PKG_BREAKS="libsearpc-dev"
|
||||||
TERMUX_PKG_REPLACES="libsearpc-dev"
|
TERMUX_PKG_REPLACES="libsearpc-dev"
|
||||||
|
|
||||||
termux_step_post_get_source() {
|
termux_step_post_get_source() {
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
|
export PYTHON="python3.9"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user