less.mk 553 B

123456789101112131415161718192021
  1. #############################################################
  2. #
  3. # less
  4. #
  5. #############################################################
  6. LESS_VERSION = 436
  7. LESS_SITE = http://www.greenwoodsoftware.com/less
  8. $(eval $(call AUTOTARGETS,package,less))
  9. $(LESS_TARGET_INSTALL_TARGET):
  10. $(call MESSAGE,"Installing to target")
  11. $(INSTALL) -m 0755 $(LESS_DIR)/less \
  12. $(TARGET_DIR)/usr/bin/less
  13. touch $@
  14. $(LESS_TARGET_UNINSTALL):
  15. $(call MESSAGE,"Uninstalling")
  16. rm -f $(TARGET_DIR)/usr/bin/less
  17. rm -f $(LESS_TARGET_INSTALL_TARGET) $(LESS_HOOK_POST_INSTALL)