3efa45721a
* calcurse: update to 4.6.0 * dialog: update to 20200327 * dictd: update to 1.13.0 * gitea: update to 1.11.4 * jfrog-cli: update to 1.35.3 * libgd: update to 2.3.0 * libgit2: update to 1.0.0 * libgraphite: update to 1.3.14 * libnftnl: update to 1.1.6 * vim, vim-python: update to 8.2.0500 * unrar: update to 5.9.2 * remind: update to 03.03.01 * nano: update to 4.9.1 * seafile-client: update to 7.0.7 * libgnutls: update to 3.6.13 * apache2: update to 2.4.43
29 lines
940 B
Bash
29 lines
940 B
Bash
TERMUX_PKG_HOMEPAGE=http://seafile.com
|
|
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.7
|
|
TERMUX_PKG_SRCURL=https://github.com/haiwen/seafile/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=db50f0b7bc5a231dfc1bedc958e0e191b74cb4a74d6f701d0c6bfc59c4ca18dd
|
|
TERMUX_PKG_DEPENDS="ccnet, libcurl, python"
|
|
TERMUX_PKG_BREAKS="seafile-client-dev"
|
|
TERMUX_PKG_REPLACES="seafile-client-dev"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
./autogen.sh
|
|
export CPPFLAGS="-I$TERMUX_PKG_SRCDIR/lib $CPPFLAGS"
|
|
}
|
|
|
|
termux_step_post_configure() {
|
|
# the package has trouble to prepare some headers
|
|
cd $TERMUX_PKG_SRCDIR/lib
|
|
python $TERMUX_PREFIX/bin/searpc-codegen.py $TERMUX_PKG_SRCDIR/lib/rpc_table.py
|
|
}
|
|
|
|
termux_step_create_debscripts() {
|
|
cat <<- EOF > ./postinst
|
|
#!$TERMUX_PREFIX/bin/sh
|
|
pip install future
|
|
EOF
|
|
}
|