c7b476dad10b53623adf7c980f39e2cf129a72b5
[packages.git] / utils / zile / Makefile
1
2 # Copyright (C) 2006 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:=zile
12 PKG_VERSION:=2.2.37
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/zile
17 PKG_MD5SUM:=041e047ff293739166c9d17174645200
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/zile
24   SECTION:=utils
25   CATEGORY:=Utilities
26   DEPENDS:=+libncurses
27   TITLE:=very small emacs-like editor
28   DESCRIPTION:=\
29         Zile is a small Emacs clone. Zile is a customizable, self-documenting \\\
30         real-time display editor. Zile was written to be as similar as possible \\\
31         to Emacs; every Emacs user should feel at home with Zile.
32   URL:=http://zile.sourceforge.net
33 endef
34
35 define Build/Compile
36         $(MAKE) -C $(PKG_BUILD_DIR)/src \
37                 all
38 endef
39
40 define Package/zile/install
41         $(INSTALL_DIR) $(1)/usr/bin
42         $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
43 endef
44
45 $(eval $(call BuildPackage,zile))