2018-02-20 01:20:10 +00:00
|
|
|
modules-$(CONFIG_NEWT) += newt
|
2018-02-20 00:39:42 +00:00
|
|
|
|
|
|
|
newt_depends := popt slang $(musl_dep)
|
|
|
|
|
2024-11-07 15:18:58 +00:00
|
|
|
newt_version := 0.52.24
|
2018-02-20 00:39:42 +00:00
|
|
|
newt_dir := newt-$(newt_version)
|
|
|
|
newt_tar := newt-$(newt_version).tar.gz
|
|
|
|
newt_url := https://releases.pagure.org/newt/$(newt_tar)
|
2024-11-07 15:18:58 +00:00
|
|
|
newt_hash := 5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb
|
2018-02-20 00:39:42 +00:00
|
|
|
|
|
|
|
newt_target := \
|
2021-12-01 17:37:27 +00:00
|
|
|
#We remove Makefile passed number of jobs to only pass one job, otherwise fails to build
|
|
|
|
#$(MAKE_JOBS) \
|
2018-02-20 00:39:42 +00:00
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
|
|
|
|
newt_output := \
|
|
|
|
whiptail \
|
|
|
|
|
|
|
|
newt_libraries := \
|
|
|
|
libnewt.so.0.52 \
|
|
|
|
|
2023-03-01 16:12:46 +00:00
|
|
|
newt_configure := \
|
|
|
|
./autogen.sh && CFLAGS="-Os" ./configure \
|
2018-02-20 00:39:42 +00:00
|
|
|
$(CROSS_TOOLS) \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2024-01-29 03:55:11 +00:00
|
|
|
--prefix "/" \
|
2018-03-06 19:58:59 +00:00
|
|
|
--without-tcl
|