aboutsummaryrefslogtreecommitdiffstats
path: root/package/less/less.mk
blob: bae1cf6546edafa35800a2b5fcebe73915142bc0 (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 = 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)