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"
|
|
|
|
TERMUX_PKG_VERSION=7.0.1
|
2019-07-29 13:37:56 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
2019-07-25 17:12:57 +02:00
|
|
|
TERMUX_PKG_SHA256=c79a186e3a512454cb65d863bd45ecc8ae2c66a0dd2010533f3fed7862fa92f8
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_DEPENDS="ccnet, libcurl"
|
2019-07-29 13:37:56 +02:00
|
|
|
TERMUX_PKG_BREAKS="seafile-client-dev"
|
|
|
|
TERMUX_PKG_REPLACES="seafile-client-dev"
|
2018-04-28 12:28:40 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure() {
|
|
|
|
# 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
|
|
|
|
}
|