aboutsummaryrefslogtreecommitdiffstats
path: root/package/less/less.mk
blob: 72449c3c11731c0647a3633e93aedd2774a00c9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#############################################################
#
# less
#
#############################################################

LESS_VERSION = 451
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))