Files
static-cross-bins/include/ncurses.mak
Timmy Welch 7bfa00cc2e
Some checks failed
Automated Releases / automated-releases (aarch64-linux-musl) (push) Has been cancelled
Automated Releases / automated-releases (x86_64-linux-musl) (push) Has been cancelled
Update slow gnu mirrors
2025-10-30 01:11:30 -07:00

32 lines
1.0 KiB
Makefile

NAME := ncurses
NCURSES_VERSION := 6.5
NCURSES_URL := https://invisible-mirror.net/archives/ncurses/ncurses-$(NCURSES_VERSION).tar.gz
NCURSES_PROGRAMS :=
NCURSES_LIBRARIES := libncurses.a libncurses++.a libform.a libmenu.a libpanel.a libtinfo.a
NCURSES_CONFIG =
$(eval $(call create_recipes, \
$(NAME), \
$(NCURSES_VERSION), \
$(NCURSES_URL), \
$(NCURSES_PROGRAMS), \
$(NCURSES_LIBRARIES), \
))
# NOTE: do not autoreconf or it can cause the build to fail.
# It emits a lot of obsolete macro warnings then the build
# spews hundreds of warnings about redefined preprocessor macros
# before finally failing for unrelated reasons.
$(BUILD_FLAG):
$(eval $(call activate_toolchain,$@))
cd "$(SRC)" && ./configure \
$(CONFIGURE_DEFAULTS) \
--without-manpages --without-progs --disable-lib-suffixes --disable-ext-funcs \
--without-tack --without-tests --with-termlib --enable-termcap --without-debug \
$(NCURSES_CONFIG) \
CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
$(MAKE) -C "$(SRC)" clean
$(MAKE) -C "$(SRC)" libs
$(MAKE) -C "$(SRC)" V=1 install.libs