37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
24 lines
939 B
Bash
24 lines
939 B
Bash
TERMUX_PKG_HOMEPAGE=https://rdiff-backup.net
|
|
TERMUX_PKG_DESCRIPTION="A utility for local/remote mirroring and incremental backups"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.0.5
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/rdiff-backup/rdiff-backup/releases/download/v${TERMUX_PKG_VERSION/\~/}/rdiff-backup-${TERMUX_PKG_VERSION/\~/}.tar.gz
|
|
TERMUX_PKG_SHA256=2bb7837b4a9712b6efaebfa7da8ed6348ffcb02fcecff0e19d8fff732e933b87
|
|
TERMUX_PKG_DEPENDS="librsync, python"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_make() {
|
|
continue
|
|
}
|
|
|
|
termux_step_make_install() {
|
|
local _PYTHON_VERSION=3.9
|
|
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
|
|
}
|