mirror of
https://github.com/Dasharo/heads.git
synced 2026-06-13 10:16:29 -07:00
a92a07daa6
TODO: detail work done here prior of merge For the moment, see this uncleaned branch https://github.com/tlaurion/heads/tree/transition_to_data_cpio Signed-off-by: Thierry Laurion <insurgo@riseup.net>
29 lines
816 B
Makefile
29 lines
816 B
Makefile
modules-$(CONFIG_NEWT) += ncurses
|
|
|
|
ncurses_depends := $(musl_dep)
|
|
|
|
ncurses_version := 6.5
|
|
ncurses_dir := ncurses-$(ncurses_version)
|
|
ncurses_tar := ncurses-$(ncurses_version).tar.gz
|
|
ncurses_url := https://invisible-island.net/archives/ncurses/ncurses-$(ncurses_version).tar.gz
|
|
ncurses_hash := 136d91bc269a9a5785e5f9e980bc76ab57428f604ce3e5a5a90cebc767971cc6
|
|
|
|
ncurses_configure := \
|
|
CFLAGS="-Os" ./configure \
|
|
$(CROSS_TOOLS) \
|
|
--host $(MUSL_ARCH)-elf-linux \
|
|
--without-ada \
|
|
--without-cxx \
|
|
--without-cxx-binding \
|
|
--without-manpages \
|
|
--without-shared
|
|
|
|
# Build and install ncurses data
|
|
ncurses_target := $(MAKE_JOBS) \
|
|
$(CROSS_TOOLS) \
|
|
DESTDIR="$(INSTALL)" \
|
|
install.data
|
|
|
|
# Specify terminfo file for data.cpio if ncurses is enabled
|
|
ncurses_data += $(INSTALL)/usr/lib/terminfo/l/linux|etc/terminfo/l/linux
|