mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-11 20:30:53 +00:00
Replace ftp.gnu.org with mirrors.kernel.org since the second has been a lot more stable and performant over time than the first (and ftp.gnu.org is currently experiencing intermittent problems). See e.g. 9937b7487379513651c67649e6adcc36d8262100 %ci:no-build
15 lines
620 B
Bash
15 lines
620 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/gengetopt/
|
|
TERMUX_PKG_DESCRIPTION="gengetopt is a tool to write command line option parsing code for C programs"
|
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.23
|
|
TERMUX_PKG_REVISION=4
|
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/gengetopt/gengetopt-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac
|
|
TERMUX_PKG_DEPENDS="libc++"
|
|
|
|
termux_step_pre_configure() {
|
|
# gengetopt (2.23 at time of writing) uses std::unary_function, removed in C++ 17:
|
|
CXXFLAGS+=" -std=c++11"
|
|
}
|