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.

42 lines
1.2 KiB

  1. # This is free software, licensed under the GNU General Public License v2.
  2. # See /LICENSE for more information.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=mg
  6. PKG_VERSION:=20180927
  7. PKG_RELEASE:=2
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://github.com/ibara/mg/releases/download/mg-20180927
  10. PKG_HASH:=99b2fd2cf9d6474153d6c5769c818dd5514c147b8a8ad660a5e114bc1ebd504d
  11. PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
  12. PKG_LICENSE:=PUBLICDOMAIN ISC BSD VARIOUS
  13. PKG_LICENSE_FILES:=README.md
  14. include $(INCLUDE_DIR)/package.mk
  15. define Package/mg
  16. SECTION:=utils
  17. CATEGORY:=Utilities
  18. DEPENDS:=+libncurses +libpcre
  19. TITLE:=microscopic EMACS style editor
  20. URL:=https://github.com/ibara/mg
  21. SUBMENU:=Editors
  22. endef
  23. define Package/mg/description
  24. Mg is intended to be a small, fast, and portable editor for people who
  25. can't (or don't want to) run emacs for one reason or another, or are not
  26. familiar with the vi editor. It is compatible with emacs because there
  27. shouldn't be any reason to learn more editor types than emacs or vi.
  28. endef
  29. define Package/mg/install
  30. $(INSTALL_DIR) $(1)/usr/bin
  31. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mg $(1)/usr/bin/
  32. endef
  33. $(eval $(call BuildPackage,mg))