You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.5 KiB

  1. #
  2. # Copyright (C) 2007-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. # changes by David Kuehling <dvdkhlng TA gmx TOD de>:
  8. #
  9. # - include support for all emulation modes jmacs jpico etc.
  10. # - see patches/002-builtinrc.patch
  11. #
  12. # changes by Vitaly Prosko <villy TA sft TOD ru>:
  13. #
  14. # - updated for new build system rules
  15. # - added static joerc config - no more defaults for native mode
  16. # - got maintenance role
  17. #
  18. include $(TOPDIR)/rules.mk
  19. PKG_NAME:=joe
  20. PKG_VERSION:=3.7
  21. PKG_RELEASE:=3
  22. PKG_SOURCE_URL:=@SF/joe-editor
  23. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  24. PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
  25. PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  26. PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru>
  27. PKG_LICENCE:=GPL-1.0
  28. include $(INCLUDE_DIR)/package.mk
  29. define Package/joe
  30. SECTION:=utils
  31. CATEGORY:=Utilities
  32. SUBMENU:=Editors
  33. TITLE:=JOE - Joes own editor
  34. URL:=http://sourceforge.net/projects/joe-editor/
  35. DEPENDS:=+libncurses
  36. endef
  37. define Package/joe/description
  38. Joe is world-famous Wordstar like text editor, that also features
  39. Emacs and Pico emulation
  40. endef
  41. define Package/joe/install
  42. $(INSTALL_DIR) $(1)/usr/bin
  43. $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
  44. for i in jmacs jstar rjoe jpico; do \
  45. ln -sf joe $(1)/usr/bin/$$$$i; \
  46. done
  47. $(INSTALL_DIR) $(1)/etc/joe
  48. $(INSTALL_CONF) ./files/joerc $(1)/etc/joe/joerc
  49. endef
  50. define Package/joe/conffiles
  51. /etc/joe/joerc
  52. endef
  53. $(eval $(call BuildPackage,joe))