2020-02-25 13:54:12 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://rdiff-backup.net
|
2020-01-03 20:18:23 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="A utility for local/remote mirroring and incremental backups"
|
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-08-12 11:40:41 +02:00
|
|
|
TERMUX_PKG_VERSION=2.0.5
|
2021-10-06 02:59:14 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2020-02-25 13:54:12 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/rdiff-backup/rdiff-backup/releases/download/v${TERMUX_PKG_VERSION/\~/}/rdiff-backup-${TERMUX_PKG_VERSION/\~/}.tar.gz
|
2020-08-12 11:40:41 +02:00
|
|
|
TERMUX_PKG_SHA256=2bb7837b4a9712b6efaebfa7da8ed6348ffcb02fcecff0e19d8fff732e933b87
|
2021-10-04 12:43:31 +02:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2020-02-25 13:54:12 +01:00
|
|
|
TERMUX_PKG_DEPENDS="librsync, python"
|
2020-01-03 20:18:23 +01:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
|
2020-02-25 13:54:12 +01:00
|
|
|
termux_step_make() {
|
|
|
|
continue
|
|
|
|
}
|
|
|
|
|
2020-01-03 20:18:23 +01:00
|
|
|
termux_step_make_install() {
|
2021-10-06 02:22:50 +02:00
|
|
|
local _PYTHON_VERSION=3.10
|
2020-01-03 20:18:23 +01:00
|
|
|
export PYTHONPATH=$TERMUX_PREFIX/lib/python${_PYTHON_VERSION}/site-packages
|
|
|
|
export CPPFLAGS+=" -I${TERMUX_PREFIX}/include/python${_PYTHON_VERSION}"
|
|
|
|
export LDFLAGS+=" -lpython${_PYTHON_VERSION}"
|
|
|
|
export LDSHARED="$CC -shared"
|
|
|
|
python${_PYTHON_VERSION} setup.py install --prefix=$TERMUX_PREFIX --force
|
|
|
|
}
|