kumquat-buildroot/package/less/less.mk
Gustavo Zacarias fe355d2278 less: build after busybox
Build less after busybox if it's enabled, since we prefer the full-blown
version over the light one if it's enabled (and busybox would overwrite
the link when built afterwards).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30 19:22:43 +02:00

21 lines
516 B
Makefile

#############################################################
#
# less
#
#############################################################
LESS_VERSION = 444
LESS_SITE = http://www.greenwoodsoftware.com/less
# 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))