Makefile (1267B)
1 # 2 # Copyright (C) 2006-2016 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 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=zile 11 PKG_VERSION:=2.3.24 12 PKG_RELEASE:=4 13 14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 15 PKG_SOURCE_URL:=@GNU/zile 16 PKG_MD5SUM:=fe77d801ba69e0fb9b4914a04b9ff506 17 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net> 18 19 PKG_LICENSE:=GPL-3.0+ 20 PKG_LICENSE_FILES:=COPYING 21 22 PKG_FIXUP:=autoreconf 23 PKG_INSTALL:=1 24 25 include $(INCLUDE_DIR)/package.mk 26 27 define Package/zile 28 SECTION:=utils 29 CATEGORY:=Utilities 30 DEPENDS:=+libncursesw 31 TITLE:=very small emacs-like editor 32 URL:=http://www.gnu.org/software/zile/ 33 SUBMENU:=Editors 34 endef 35 36 define Package/zile/description 37 Zile is a small Emacs clone. Zile is a customizable, self-documenting 38 real-time display editor. Zile was written to be as similar as possible 39 to Emacs; every Emacs user should feel at home with Zile. 40 endef 41 42 CONFIGURE_VARS += \ 43 gl_cv_func_getopt_gnu=yes \ 44 gl_cv_warn__Wmudflap=no \ 45 gl_cv_warn__fmudflap=no 46 47 CONFIGURE_ARGS += \ 48 --with-ncursesw \ 49 50 51 define Package/zile/install 52 $(INSTALL_DIR) $(1)/usr/bin 53 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/ 54 endef 55 56 $(eval $(call BuildPackage,zile))