8dfd59d114
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
23 lines
605 B
Makefile
23 lines
605 B
Makefile
################################################################################
|
|
#
|
|
# less
|
|
#
|
|
################################################################################
|
|
|
|
LESS_VERSION = 458
|
|
LESS_SITE = http://www.greenwoodsoftware.com/less
|
|
LESS_LICENSE = GPLv3+
|
|
LESS_LICENSE_FILES = COPYING
|
|
# Build after busybox, full-blown is better
|
|
LESS_DEPENDENCIES = ncurses $(if $(BR2_PACKAGE_BUSYBOX),busybox)
|
|
|
|
define LESS_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(@D)/less $(TARGET_DIR)/usr/bin/less
|
|
endef
|
|
|
|
define LESS_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/usr/bin/less
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|