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.

60 lines
1.4 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:=4.6
  21. PKG_RELEASE:=1
  22. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  23. PKG_SOURCE_URL:=@SF/joe-editor
  24. PKG_HASH:=495a0a61f26404070fe8a719d80406dc7f337623788e445b92a9f6de512ab9de
  25. PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru>
  26. PKG_LICENCE:=GPL-2.0
  27. include $(INCLUDE_DIR)/package.mk
  28. define Package/joe
  29. SECTION:=utils
  30. CATEGORY:=Utilities
  31. SUBMENU:=Editors
  32. TITLE:=JOE - Joes own editor
  33. URL:=https://sourceforge.net/projects/joe-editor/
  34. DEPENDS:=+libncurses
  35. endef
  36. define Package/joe/description
  37. Joe is world-famous Wordstar like text editor, that also features
  38. Emacs and Pico emulation
  39. endef
  40. define Package/joe/install
  41. $(INSTALL_DIR) $(1)/usr/bin
  42. $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe/joe $(1)/usr/bin/
  43. $(INSTALL_DIR) $(1)/etc/joe
  44. $(INSTALL_CONF) ./files/joerc $(1)/etc/joe/joerc
  45. endef
  46. define Package/joe/conffiles
  47. /etc/joe/joerc
  48. endef
  49. $(eval $(call BuildPackage,joe))