2020-03-20 12:01:00 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://boinc.berkeley.edu/
|
|
|
|
TERMUX_PKG_DESCRIPTION="Open-source software for volunteer computing"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-12-29 16:40:36 +01:00
|
|
|
TERMUX_PKG_VERSION=7.18.1
|
2022-03-01 04:52:15 +01:00
|
|
|
TERMUX_PKG_REVISION=2
|
2020-06-02 14:53:13 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/BOINC/boinc/archive/client_release/${TERMUX_PKG_VERSION:0:4}/${TERMUX_PKG_VERSION}.tar.gz
|
2021-12-29 16:40:36 +01:00
|
|
|
TERMUX_PKG_SHA256=274388d9c49e488b6c8502ffc6eb605d5ceae391fb0c2fc56dbb0254d0ceb27e
|
2020-03-20 12:01:00 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libc++, libcurl, openssl, zlib"
|
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
TERMUX_PKG_NO_STATICSPLIT=true
|
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-server
|
|
|
|
--disable-manager
|
|
|
|
"
|
|
|
|
|
|
|
|
TERMUX_PKG_CONFFILES="etc/boinc-client.conf"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2021-10-23 04:36:21 +02:00
|
|
|
# for benchmark purposes
|
|
|
|
CFLAGS="${CFLAGS/-Oz/-Os}"
|
|
|
|
CXXFLAGS="${CXXFLAGS/-Oz/-Os}"
|
2020-04-16 13:53:18 +02:00
|
|
|
LDFLAGS+=" -landroid-shmem"
|
2020-03-20 12:01:00 +01:00
|
|
|
./_autosetup
|
|
|
|
}
|
2021-12-29 16:40:36 +01:00
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
mkdir -p "$TERMUX_PREFIX/share/bash-completion/completions"
|
|
|
|
install -m 644 "$TERMUX_PKG_SRCDIR/client/scripts/boinc.bash" "$TERMUX_PREFIX/share/bash-completion/completions/boinc"
|
|
|
|
}
|