mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
joe: add a new package to the build tree
Joe is world-famous Wordstar like text editor, that also features Emacs and Pico emulation Signed-off-by: Vitaly Protsko <villy@sft.ru> --- Makefile | 63 ++++ files/joerc | 621 +++++++++++++++++++++++++++++++++++++++++++++ patches/001-mathaway.patch | 58 ++++ 3 files changed, 742 insertions(+)
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# Copyright (C) 2007-2014 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# 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
|
||||
#
|
||||
# changes by Vitaly Prosko <villy TA sft TOD ru>:
|
||||
#
|
||||
# - updated for new build system rules
|
||||
# - added static joerc config - no more defaults for native mode
|
||||
# - got maintenance role
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=joe
|
||||
PKG_VERSION:=3.7
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE_URL:=@SF/joe-editor
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
|
||||
PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_MAINTAINER:=Vitaly Protsko <villy@sft.ru>
|
||||
PKG_LICENCE:=GPL-1.0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/joe
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
SUBMENU:=Editors
|
||||
TITLE:=JOE - Joes own editor
|
||||
URL:=http://sourceforge.net/projects/joe-editor/
|
||||
DEPENDS:=+libncurses
|
||||
endef
|
||||
|
||||
define Package/joe/description
|
||||
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
|
||||
$(INSTALL_DIR) $(1)/etc/joe
|
||||
$(INSTALL_CONF) ./files/joerc $(1)/etc/joe/joerc
|
||||
endef
|
||||
|
||||
define Package/joe/conffiles
|
||||
/etc/joe/joerc
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,joe))
|
||||
Reference in New Issue
Block a user