[PATCH] utils/collectd: fix modbus plugin
[openwrt/svn-archive/archive.git] / utils / joe / 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
13 include $(TOPDIR)/rules.mk
14
15 PKG_NAME:=joe
16 PKG_VERSION:=3.7
17 PKG_RELEASE:=3
18
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
20 PKG_SOURCE_URL:=@SF/joe-editor
21 PKG_MD5SUM:=66de1b073e869ba12abbfcde3885c577
22
23 PKG_BUILD_DIR=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/joe
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
34 endef
35
36 define Package/joe/description
37 Joe is world-famous Wordstar like text editor, that also features
38 Emacs and Pico emulation
39 endef
40
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; \
46 done
47 endef
48
49 $(eval $(call BuildPackage,joe))