2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://seafile.com
|
2019-07-25 18:12:57 +03:00
|
|
|
TERMUX_PKG_DESCRIPTION="Seafile is a file syncing and sharing software with file encryption and group sharing"
|
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2020-12-20 15:16:34 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-07-18 00:29:17 +03:00
|
|
|
TERMUX_PKG_VERSION=8.0.3
|
2022-03-23 21:38:28 +09:00
|
|
|
TERMUX_PKG_REVISION=6
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2021-07-18 00:29:17 +03:00
|
|
|
TERMUX_PKG_SHA256=a83d5d301cf54819ab96ea0ab53824980efdf6727460b969ce3176b4c5109f6b
|
2021-10-04 13:43:31 +03:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2021-08-16 14:42:22 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libcurl, libevent, libsearpc, libsqlite, libuuid, openssl, python"
|
|
|
|
TERMUX_PKG_BREAKS="seafile-client-dev, ccnet"
|
|
|
|
TERMUX_PKG_REPLACES="seafile-client-dev, ccnet"
|
2019-08-12 18:28:41 +03:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2022-02-20 21:22:39 +05:30
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-python_prefix=$TERMUX_PREFIX
|
|
|
|
"
|
2018-04-28 12:28:40 +02:00
|
|
|
|
2021-08-16 15:13:01 +01:00
|
|
|
|
2018-04-28 12:28:40 +02:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
2019-12-06 11:52:35 +11:00
|
|
|
export CPPFLAGS="-I$TERMUX_PKG_SRCDIR/lib $CPPFLAGS"
|
2021-10-06 01:22:50 +01:00
|
|
|
export PYTHON="python3.10"
|
2018-04-28 12:28:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
2020-08-21 20:58:52 +05:30
|
|
|
#the package has trouble to prepare some headers
|
2019-07-25 18:12:57 +03:00
|
|
|
cd $TERMUX_PKG_SRCDIR/lib
|
2018-04-28 12:28:40 +02:00
|
|
|
python $TERMUX_PREFIX/bin/searpc-codegen.py $TERMUX_PKG_SRCDIR/lib/rpc_table.py
|
|
|
|
}
|