892fe6d50fcdc0ded1347d54927bc0670815fc0f
[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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=joe
12 PKG_VERSION:=3.5
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/joe-editor
17 PKG_MD5SUM:=9bdffecce7ef910feaa06452d48843de
18 PKG_CAT:=zcat
19
20 PKG_BUILD_DEPENDS:=libncurses
21
22 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
23
24 include $(INCLUDE_DIR)/package.mk
25
26 define Package/joe
27 SECTION:=utils
28 CATEGORY:=Utilities
29 TITLE:=JOE - Joes own editor
30 DESCRIPTION:=Joe is world-famous Wordstar like text editor.
31 URL:=http://sourceforge.net/projects/joe-editor/
32 endef
33
34 define Package/joe/install
35 $(STRIP) $(PKG_BUILD_DIR)/joe
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(INSTALL_BIN) $(PKG_BUILD_DIR)/joe $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,joe))