Root/joe-full/Makefile

1#
2# Copyright (C) 2007 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
13include $(TOPDIR)/rules.mk
14
15PKG_NAME:=joe-full
16PKG_VERSION:=3.7
17PKG_RELEASE:=3
18
19PKG_SOURCE:=joe-$(PKG_VERSION).tar.gz
20PKG_SOURCE_URL:=@SF/joe-editor
21PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
22
23PKG_BUILD_DIR=$(BUILD_DIR)/joe-$(PKG_VERSION)
24
25include $(INCLUDE_DIR)/package.mk
26
27define Package/joe-full
28  SECTION:=utils
29  CATEGORY:=Utilities
30  DEPENDS:=+libncurses
31  TITLE:=JOE - Joes own editor
32  URL:=http://sourceforge.net/projects/joe-editor/
33  SUBMENU:=Editors
34endef
35
36define Package/joe-full/description
37Joe is world-famous Wordstar like text editor, that also features
38Emacs and Pico emulation
39endef
40
41define Package/joe-full/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; \
46    done
47endef
48
49$(eval $(call BuildPackage,joe-full))
50

Archive Download this file



interactive