2018-02-20 00:39:42 +00:00
|
|
|
modules-$(CONFIG_SLANG) += slang
|
|
|
|
|
2024-05-01 20:22:01 +00:00
|
|
|
slang_version := 2.3.3
|
2018-02-20 00:39:42 +00:00
|
|
|
slang_dir := slang-$(slang_version)
|
|
|
|
slang_tar := slang-$(slang_version).tar.bz2
|
|
|
|
slang_url := https://www.jedsoft.org/releases/slang/$(slang_tar)
|
2024-05-01 20:22:01 +00:00
|
|
|
slang_hash := f9145054ae131973c61208ea82486d5dd10e3c5cdad23b7c4a0617743c8f5a18
|
2018-02-20 00:39:42 +00:00
|
|
|
|
|
|
|
slang_configure := ./configure \
|
|
|
|
$(CROSS_TOOLS) \
|
2023-06-07 19:49:13 +00:00
|
|
|
ac_cv_path_nc5config=ncurses-config \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2024-01-29 03:55:11 +00:00
|
|
|
--prefix "/" \
|
2018-02-26 21:28:11 +00:00
|
|
|
--with-onig=no \
|
2024-01-29 03:55:11 +00:00
|
|
|
--with-pcre=no \
|
|
|
|
--with-png=no \
|
|
|
|
--with-z=no \
|
2024-05-01 20:22:01 +00:00
|
|
|
--disable-termcap \
|
2018-03-08 23:50:12 +00:00
|
|
|
&& mkdir -p src/elfobjs
|
2018-02-20 00:39:42 +00:00
|
|
|
|
2018-04-20 00:41:49 +00:00
|
|
|
# Disable parallel make for the install target
|
2018-02-20 00:39:42 +00:00
|
|
|
slang_target := \
|
|
|
|
$(MAKE_JOBS) \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
&& $(MAKE) \
|
2018-04-20 00:41:49 +00:00
|
|
|
-j1 \
|
2018-02-20 00:39:42 +00:00
|
|
|
-C "$(build)/$(slang_dir)" \
|
|
|
|
$(CROSS_TOOLS) \
|
|
|
|
DESTDIR="$(INSTALL)" \
|
|
|
|
install
|
|
|
|
|
|
|
|
slang_libraries := src/elfobjs/libslang.so.2
|
|
|
|
|
|
|
|
slang_depends := $(musl_dep)
|