You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=zile
  9. PKG_VERSION:=2.3.24
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@GNU/zile
  13. PKG_MD5SUM:=fe77d801ba69e0fb9b4914a04b9ff506
  14. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  15. PKG_LICENSE:=GPL-3.0+
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/zile
  21. SECTION:=utils
  22. CATEGORY:=Utilities
  23. DEPENDS:=+libncursesw
  24. TITLE:=very small emacs-like editor
  25. URL:=http://www.gnu.org/software/zile/
  26. SUBMENU:=Editors
  27. endef
  28. define Package/zile/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. endef
  33. CONFIGURE_VARS += \
  34. gl_cv_func_getopt_gnu=yes \
  35. gl_cv_warn__Wmudflap=no \
  36. gl_cv_warn__fmudflap=no
  37. CONFIGURE_ARGS += \
  38. --with-ncursesw \
  39. define Package/zile/install
  40. $(INSTALL_DIR) $(1)/usr/bin
  41. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
  42. endef
  43. $(eval $(call BuildPackage,zile))