mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 04:10:52 +00:00
- Planned here, and separated into another PR for easier review and source control: https://github.com/termux/termux-packages/pull/23652#discussion_r2206041304 %ci:no-build
19 lines
811 B
Bash
19 lines
811 B
Bash
TERMUX_PKG_HOMEPAGE=https://github.com/sabnzbd/sabctools
|
|
TERMUX_PKG_DESCRIPTION="C implementations of functions for use within SABnzbd"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="9.3.1"
|
|
TERMUX_PKG_SRCURL=https://github.com/sabnzbd/sabctools/releases/download/v${TERMUX_PKG_VERSION}/sabctools-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=a19318c6e9038446c4d326c26c6703e343cdcb892d05e8b86e4d2b71c6f70789
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="libc++, python"
|
|
TERMUX_PKG_BUILD_DEPENDS="libcpufeatures"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_PYTHON_COMMON_BUILD_DEPS="wheel"
|
|
|
|
termux_step_pre_configure() {
|
|
export CXXFLAGS+=" -fPIC -I$TERMUX_PREFIX/include/ndk_compat"
|
|
export CFLAGS+=" -I$TERMUX_PREFIX/include/ndk_compat"
|
|
export LDFLAGS+=" -l:libndk_compat.a"
|
|
}
|