For changes see the nushell blog: https://www.nushell.sh/blog/ Broken since the update of rust in -next. Patch for sparc64 no longer required. Fixes: - http://autobuild.buildroot.org/results/f11/f11c62f504e9ce68ed9e3fb3533d53942cb87092 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
663 B
Makefile
21 lines
663 B
Makefile
################################################################################
|
|
#
|
|
# nushell
|
|
#
|
|
################################################################################
|
|
|
|
NUSHELL_VERSION = 0.96.1
|
|
NUSHELL_SITE = $(call github,nushell,nushell,$(NUSHELL_VERSION))
|
|
NUSHELL_LICENSE = MIT
|
|
NUSHELL_LICENSE_FILES = LICENSE
|
|
NUSHELL_DEPENDENCIES = host-pkgconf openssl ncurses
|
|
|
|
# Add /usr/bin/nu to /etc/shells as in package/bash/bash.mk
|
|
define NUSHELL_ADD_NU_TO_SHELLS
|
|
grep -qsE '^/usr/bin/nu$$' $(TARGET_DIR)/etc/shells \
|
|
|| echo "/usr/bin/nu" >> $(TARGET_DIR)/etc/shells
|
|
endef
|
|
NUSHELL_TARGET_FINALIZE_HOOKS += NUSHELL_ADD_NU_TO_SHELLS
|
|
|
|
$(eval $(cargo-package))
|