2018-02-20 00:39:42 +00:00
|
|
|
modules-$(CONFIG_SLANG) += slang
|
|
|
|
|
|
|
|
slang_version := 2.3.1a
|
|
|
|
slang_dir := slang-$(slang_version)
|
|
|
|
slang_tar := slang-$(slang_version).tar.bz2
|
|
|
|
slang_url := https://www.jedsoft.org/releases/slang/$(slang_tar)
|
|
|
|
slang_hash := 54f0c3007fde918039c058965dffdfd6c5aec0bad0f4227192cc486021f08c36
|
|
|
|
|
|
|
|
slang_configure := ./configure \
|
|
|
|
$(CROSS_TOOLS) \
|
2018-10-28 17:59:33 +00:00
|
|
|
ac_cv_path_nc5config=no \
|
2018-02-20 00:39:42 +00:00
|
|
|
--prefix "/" \
|
2021-07-18 17:34:20 +00:00
|
|
|
--host $(MUSL_ARCH)-elf-linux \
|
2018-10-28 17:59:33 +00:00
|
|
|
--with-z=no \
|
2018-02-20 00:44:24 +00:00
|
|
|
--with-png=no \
|
2018-02-26 21:28:11 +00:00
|
|
|
--with-pcre=no \
|
|
|
|
--with-onig=no \
|
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)
|