Makefile (1454B)
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 8 # changes by David Kuehling <dvdkhlng TA gmx TOD de>: 9 # 10 # - include support for all emulation modes jmacs jpico etc. 11 # - see patches/002-builtinrc.patch 12 # 13 # changes by Vitaly Prosko <villy TA sft TOD ru>: 14 # 15 # - updated for new build system rules 16 # - added static joerc config - no more defaults for native mode 17 # - got maintenance role 18 # 19 20 include $(TOPDIR)/rules.mk 21 22 PKG_NAME:=joe 23 PKG_VERSION:=4.4 24 PKG_RELEASE:=1 25 26 PKG_SOURCE_URL:=@SF/joe-editor 27 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 28 PKG_MD5SUM:=59e63debe60b456a6ee5c0c27a756a47 29 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 30 PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru> 31 PKG_LICENCE:=GPL-2.0 32 33 include $(INCLUDE_DIR)/package.mk 34 35 define Package/joe 36 SECTION:=utils 37 CATEGORY:=Utilities 38 SUBMENU:=Editors 39 TITLE:=JOE - Joes own editor 40 URL:=http://sourceforge.net/projects/joe-editor/ 41 DEPENDS:=+libncurses 42 endef 43 44 define Package/joe/description 45 Joe is world-famous Wordstar like text editor, that also features 46 Emacs and Pico emulation 47 endef 48 49 define Package/joe/install 50 $(INSTALL_DIR) $(1)/usr/bin 51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe/joe $(1)/usr/bin/ 52 $(INSTALL_DIR) $(1)/etc/joe 53 $(INSTALL_CONF) ./files/joerc $(1)/etc/joe/joerc 54 endef 55 56 define Package/joe/conffiles 57 /etc/joe/joerc 58 endef 59 60 $(eval $(call BuildPackage,joe))