kumquat-buildroot/package/less/less.mk

23 lines
581 B
Makefile
Raw Normal View History

2003-11-12 23:43:51 +01:00
#############################################################
#
# less
#
#############################################################
LESS_VERSION = 436
LESS_SITE = http://www.greenwoodsoftware.com/less
LESS_DEPENDENCIES = ncurses
2003-11-12 23:43:51 +01:00
$(eval $(call AUTOTARGETS,package,less))
2003-11-12 23:43:51 +01:00
$(LESS_TARGET_INSTALL_TARGET):
$(call MESSAGE,"Installing to target")
$(INSTALL) -m 0755 $(LESS_DIR)/less \
$(TARGET_DIR)/usr/bin/less
touch $@
2003-11-12 23:43:51 +01:00
$(LESS_TARGET_UNINSTALL):
$(call MESSAGE,"Uninstalling")
rm -f $(TARGET_DIR)/usr/bin/less
rm -f $(LESS_TARGET_INSTALL_TARGET) $(LESS_HOOK_POST_INSTALL)