2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 # changes by David Kuehling <dvdkhlng TA gmx TOD de>:
10 # - include support for all emulation modes jmacs jpico etc.
11 # - see patches/002-builtinrc.patch
13 include $(TOPDIR)/rules.mk
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
20 PKG_SOURCE_URL:=@SF/joe-editor
21 PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
23 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
25 include $(INCLUDE_DIR)/package.mk
31 TITLE:=JOE - Joes own editor
32 URL:=http://sourceforge.net/projects/joe-editor/
36 define Package/joe/description
37 Joe is world-famous Wordstar like text editor, that also features
38 Emacs and Pico emulation
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; \
49 $(eval $(call BuildPackage,joe))