2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://seafile.com
|
2019-07-25 17:12:57 +02: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-08-21 12:14:38 +02:00
|
|
|
TERMUX_PKG_VERSION=7.0.9
|
2020-11-08 17:08:40 +01:00
|
|
|
TERMUX_PKG_REVISION=4
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2020-08-21 12:14:38 +02:00
|
|
|
TERMUX_PKG_SHA256=f127b735e5d4cbd7e692d52eda54113f1a4ca31bd8328fbccf01a5462bbba5e8
|
2020-11-08 15:47:25 +01:00
|
|
|
TERMUX_PKG_DEPENDS="ccnet, libcurl, python"
|
2020-11-08 17:08:40 +01:00
|
|
|
TERMUX_PKG_CONFLICTS="python (<< 3.9.0 | >> 3.9.99)"
|
2019-07-29 13:37:56 +02:00
|
|
|
TERMUX_PKG_BREAKS="seafile-client-dev"
|
|
|
|
TERMUX_PKG_REPLACES="seafile-client-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2018-04-28 12:28:40 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
2019-12-06 01:52:35 +01:00
|
|
|
export CPPFLAGS="-I$TERMUX_PKG_SRCDIR/lib $CPPFLAGS"
|
2018-04-28 12:28:40 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
2020-08-21 17:28:52 +02:00
|
|
|
#the package has trouble to prepare some headers
|
2019-07-25 17:12:57 +02: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
|
|
|
|
}
|
2019-12-26 11:26:35 +01:00
|
|
|
|
|
|
|
termux_step_create_debscripts() {
|
|
|
|
cat <<- EOF > ./postinst
|
|
|
|
#!$TERMUX_PREFIX/bin/sh
|
2020-02-23 01:45:53 +01:00
|
|
|
pip install future
|
2019-12-26 11:26:35 +01:00
|
|
|
EOF
|
|
|
|
}
|