2022-06-22 15:59:10 +00:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://seafile.com
|
2019-07-25 15:12:57 +00:00
|
|
|
TERMUX_PKG_DESCRIPTION="Seafile is a file syncing and sharing software with file encryption and group sharing"
|
2022-12-29 20:21:28 +00:00
|
|
|
# License: GPL-2.0-with-OpenSSL-exception
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE.txt"
|
2020-12-20 13:16:34 +00:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2024-05-24 00:27:14 +00:00
|
|
|
TERMUX_PKG_VERSION="9.0.6"
|
2018-04-28 10:28:40 +00:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2024-05-24 00:27:14 +00:00
|
|
|
TERMUX_PKG_SHA256=e0a1260ac995ad21a183cf73e647fe18e4fc06045f601ab5abcc4b62d07c2280
|
2021-10-04 10:43:31 +00:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-06-22 15:59:10 +00:00
|
|
|
TERMUX_PKG_UPDATE_METHOD=repology
|
2023-09-28 03:05:49 +00:00
|
|
|
TERMUX_PKG_DEPENDS="glib, libcurl, libevent, libjansson, libsearpc, libsqlite, libuuid, libwebsockets, openssl, python, zlib"
|
2021-08-16 13:42:22 +00:00
|
|
|
TERMUX_PKG_BREAKS="seafile-client-dev, ccnet"
|
|
|
|
TERMUX_PKG_REPLACES="seafile-client-dev, ccnet"
|
2019-08-12 15:28:41 +00:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2023-01-12 12:18:01 +00:00
|
|
|
TERMUX_PKG_SETUP_PYTHON=true
|
2022-02-20 15:52:39 +00:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-python_prefix=$TERMUX_PREFIX
|
|
|
|
"
|
2018-04-28 10:28:40 +00:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
2019-12-06 00:52:35 +00:00
|
|
|
export CPPFLAGS="-I$TERMUX_PKG_SRCDIR/lib $CPPFLAGS"
|
2018-04-28 10:28:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
2020-08-21 15:28:52 +00:00
|
|
|
#the package has trouble to prepare some headers
|
2019-07-25 15:12:57 +00:00
|
|
|
cd $TERMUX_PKG_SRCDIR/lib
|
2018-04-28 10:28:40 +00:00
|
|
|
python $TERMUX_PREFIX/bin/searpc-codegen.py $TERMUX_PKG_SRCDIR/lib/rpc_table.py
|
|
|
|
}
|