Makefile 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.3
  21. PKG_RELEASE:=1
  22. PKG_SOURCE_URL:=@SF/joe-editor
  23. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  24. PKG_MD5SUM:=5a167f5e88e62c77bb42b0145d72c466
  25. PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  26. PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru>
  27. PKG_LICENCE:=GPL-2.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/joe $(1)/usr/bin/
  44. $(INSTALL_DIR) $(1)/etc/joe
  45. $(INSTALL_CONF) ./files/joerc $(1)/etc/joe/joerc
  46. endef
  47. define Package/joe/conffiles
  48. /etc/joe/joerc
  49. endef
  50. $(eval $(call BuildPackage,joe))