0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-02 19:15:59 +00:00
2024-08-31 21:08:02 +08:00

23 lines
782 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/Parchive/par2cmdline
TERMUX_PKG_DESCRIPTION="par2cmdline is a PAR 2.0 compatible file verification and repair tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
TERMUX_PKG_VERSION=0.8.1
TERMUX_PKG_REVISION=4
TERMUX_PKG_SRCURL=https://github.com/Parchive/par2cmdline/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=529f85857ec44e501cd8d95b0c8caf47477d7daa5bfb989e422c800bb71b689a
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
if [ $TERMUX_ARCH = "i686" ]; then
# Avoid undefined reference to __atomic_* functions:
export LIBS=" -latomic"
fi
LDFLAGS+=" -fopenmp -static-openmp"
aclocal
automake --add-missing
autoconf
}