[Buildroot] [PATCH] package/joe: Add package for the JOE editor
Alan Ott
alan at signal11.us
Sun Feb 2 00:42:49 UTC 2014
JOE is an easy-to-use, full-screen, terminal-based text editor.
http://joe-editor.sf.net
Signed-off-by: Alan Ott <alan at signal11.us>
---
package/joe/Config.in | 20 ++++++++++++++++++++
package/joe/joe.mk | 22 ++++++++++++++++++++++
2 files changed, 42 insertions(+)
create mode 100644 package/joe/Config.in
create mode 100644 package/joe/joe.mk
diff --git a/package/joe/Config.in b/package/joe/Config.in
new file mode 100644
index 0000000..e15b0f2
--- /dev/null
+++ b/package/joe/Config.in
@@ -0,0 +1,20 @@
+config BR2_PACKAGE_JOE
+ bool "joe"
+ help
+ Joe's Own Editor
+
+ JOE is an easy-to-use, full featured terminal-based screen editor.
+ Its behavior is a blending of WordStar and GNU-EMACS (but it does
+ not use code from either program). It is a great editor for new
+ users or as an alternative to vi.
+
+ http://joe-editor.sf.net
+
+config BR2_PACKAGE_JOE_FULL
+ bool "full install of rc and syntax highlighting files"
+ depends on BR2_PACKAGE_JOE
+ default y
+ help
+ Install all rc and syntax highlighting files. Without this option
+ only the joe binary is installed, which contains a default
+ configuration.
diff --git a/package/joe/joe.mk b/package/joe/joe.mk
new file mode 100644
index 0000000..9725dc7
--- /dev/null
+++ b/package/joe/joe.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# joe - Joe's Own Editor
+#
+################################################################################
+
+JOE_VERSION = 3.7
+JOE_SITE = http://downloads.sourceforge.net/project/joe-editor/JOE%20sources/joe-$(JOE_VERSION)
+JOE_LICENSE = GPLv1+
+JOE_LICENSE_FILES = COPYING
+JOE_MAKE_ENV =
+JOE_CONF_OPT = --disable-curses
+JOE_CONF_ENV =
+JOE_DEPENDENCIES =
+
+ifneq ($(BR2_PACKAGE_JOE_FULL),y)
+define JOE_INSTALL_TARGET_CMDS
+ $(INSTALL) -m 0755 $(@D)/joe $(TARGET_DIR)/usr/bin/joe
+endef
+endif
+
+$(eval $(autotools-package))
--
1.8.1.2
More information about the buildroot
mailing list