Hi

attach is the patch.  thanks to David Kuehling.

UPDATE:
  - include support for all emulation modes jmacs jpico etc.
  - see patches/002-builtinrc.patch

this patch base on:
xian...@openmobilefree:~/openwrt-xburst/feeds/packages/utils/joe$ svn info
Path: .
URL: svn://svn.openwrt.org/openwrt/packages/utils/joe
Repository Root: svn://svn.openwrt.org/openwrt
Repository UUID: 3c298f89-4303-0410-b956-a3cf2f4a3e73
Revision: 22392
Node Kind: directory
Schedule: normal
Last Changed Author: florian
Last Changed Rev: 16801
Last Changed Date: 2009-07-12 20:17:59 +0800 (Sun, 12 Jul 2009)

--
Best Regards
Xiangfu Liu
http://www.openmobilefree.net
Index: Makefile
===================================================================
--- Makefile	(revision 22392)
+++ Makefile	(working copy)
@@ -5,16 +5,23 @@
 # See /LICENSE for more information.
 #
 
+# changes by David Kuehling <dvdkhlng TA gmx TOD de>:
+#
+#  - include support for all emulation modes jmacs jpico etc.
+#  - see patches/002-builtinrc.patch
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=joe
 PKG_VERSION:=3.7
-PKG_RELEASE:=1
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=...@sf/joe-editor
 PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
 
+PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
 include $(INCLUDE_DIR)/package.mk
 
 define Package/joe
@@ -27,12 +34,16 @@
 endef
 
 define Package/joe/description
-Joe is world-famous Wordstar like text editor.
+Joe is world-famous Wordstar like text editor, that also features 
+Emacs and Pico emulation
 endef
 
 define Package/joe/install
 	$(INSTALL_DIR) $(1)/usr/bin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
+	for i in jmacs jstar rjoe jpico; do \
+	  ln -sf joe $(1)/usr/bin/$$$$i; \
+	done
 endef
 
 $(eval $(call BuildPackage,joe))
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to