diff --git a/package/slang/slang.hash b/package/slang/slang.hash new file mode 100644 index 0000000000..000ac11e36 --- /dev/null +++ b/package/slang/slang.hash @@ -0,0 +1,2 @@ +# From http://www.jedsoft.org/releases/slang/ +sha1 c3270b58a58e6cbfd47f0a6e3d2194dd9e7c7d14 slang-2.3.0.tar.gz diff --git a/package/slang/slang.mk b/package/slang/slang.mk index 6962e77594..15b65b3634 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -11,6 +11,12 @@ SLANG_LICENSE_FILES = COPYING SLANG_INSTALL_STAGING = YES SLANG_MAKE = $(MAKE1) +# Racy and we don't have/do libtermcap +define SLANG_DISABLE_TERMCAP + $(SED) '/^TERMCAP=/s:=.*:=:' $(@D)/configure +endef +SLANG_POST_PATCH_HOOKS += SLANG_DISABLE_TERMCAP + # Absolute path hell, sigh... ifeq ($(BR2_PACKAGE_LIBPNG),y) SLANG_CONF_OPTS += --with-png=$(STAGING_DIR)/usr