Add zile (#2028)
authorOliver Ertl <oliver@ertl-net.net>
Wed, 4 Jul 2007 20:06:51 +0000 (20:06 +0000)
committerOliver Ertl <oliver@ertl-net.net>
Wed, 4 Jul 2007 20:06:51 +0000 (20:06 +0000)
SVN-Revision: 7878

utils/zile/Makefile [new file with mode: 0644]

diff --git a/utils/zile/Makefile b/utils/zile/Makefile
new file mode 100644 (file)
index 0000000..c7b476d
--- /dev/null
@@ -0,0 +1,45 @@
+# 
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=zile
+PKG_VERSION:=2.2.37
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE_URL:=@SF/zile
+PKG_MD5SUM:=041e047ff293739166c9d17174645200
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/zile
+  SECTION:=utils
+  CATEGORY:=Utilities
+  DEPENDS:=+libncurses
+  TITLE:=very small emacs-like editor
+  DESCRIPTION:=\
+       Zile is a small Emacs clone. Zile is a customizable, self-documenting \\\
+       real-time display editor. Zile was written to be as similar as possible \\\
+       to Emacs; every Emacs user should feel at home with Zile.
+  URL:=http://zile.sourceforge.net
+endef
+
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR)/src \
+               all
+endef
+
+define Package/zile/install
+       $(INSTALL_DIR) $(1)/usr/bin
+       $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/bin/
+endef
+
+$(eval $(call BuildPackage,zile))