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

LESS_VERSION = 436
LESS_SITE = http://www.greenwoodsoftware.com/less

$(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)