1
0

Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=zile
  7. PKG_VERSION:=2.3.24
  8. PKG_RELEASE:=6
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. PKG_SOURCE_URL:=@GNU/zile
  11. PKG_HASH:=218bb2af414c6a168101656631a5b2da92f20a965895e1006658cc658b0b7e89
  12. PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
  13. PKG_LICENSE:=GPL-3.0-or-later
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_INSTALL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. define Package/zile
  18. SECTION:=utils
  19. CATEGORY:=Utilities
  20. DEPENDS:=+libncursesw
  21. TITLE:=very small emacs-like editor
  22. URL:=http://www.gnu.org/software/zile/
  23. SUBMENU:=Editors
  24. endef
  25. define Package/zile/description
  26. Zile is a small Emacs clone. Zile is a customizable, self-documenting
  27. real-time display editor. Zile was written to be as similar as possible
  28. to Emacs; every Emacs user should feel at home with Zile.
  29. endef
  30. CONFIGURE_VARS += \
  31. gl_cv_func_getopt_gnu=yes \
  32. gl_cv_warn__Wmudflap=no \
  33. gl_cv_warn__fmudflap=no
  34. CONFIGURE_ARGS += \
  35. --with-ncursesw \
  36. define Package/zile/install
  37. $(INSTALL_DIR) $(1)/usr/bin
  38. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(PKG_NAME) $(1)/usr/bin/
  39. endef
  40. $(eval $(call BuildPackage,zile))