5b9384337a
The less package already selects BR2_PACKAGE_CURSES, but it fails to depend on it in the makefile. Therefore, there are cases where less gets built before curses, and the build fails: checking for working terminal libraries... Cannot find terminal libraries - configure failed Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
581 B
Makefile
23 lines
581 B
Makefile
#############################################################
|
|
#
|
|
# less
|
|
#
|
|
#############################################################
|
|
|
|
LESS_VERSION = 436
|
|
LESS_SITE = http://www.greenwoodsoftware.com/less
|
|
LESS_DEPENDENCIES = ncurses
|
|
|
|
$(eval $(call AUTOTARGETS,package,less))
|
|
|
|
$(LESS_TARGET_INSTALL_TARGET):
|
|
$(call MESSAGE,"Installing to target")
|
|
$(INSTALL) -m 0755 $(LESS_DIR)/less \
|
|
$(TARGET_DIR)/usr/bin/less
|
|
touch $@
|
|
|
|
$(LESS_TARGET_UNINSTALL):
|
|
$(call MESSAGE,"Uninstalling")
|
|
rm -f $(TARGET_DIR)/usr/bin/less
|
|
rm -f $(LESS_TARGET_INSTALL_TARGET) $(LESS_HOOK_POST_INSTALL)
|