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.

43 lines
1.3 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:=6.5
  7. PKG_RELEASE:=1
  8. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  9. PKG_SOURCE_URL:=https://codeload.github.com/ibara/mg/tar.gz/$(PKG_NAME)-$(PKG_VERSION)?
  10. PKG_HASH:=c18ab048c192921b5f826885b4087f3e82ec4272dce2e7ed7cde051cd0acf375
  11. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
  12. PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>
  13. PKG_LICENSE:=PUBLICDOMAIN ISC BSD VARIOUS
  14. PKG_LICENSE_FILES:=README.md
  15. include $(INCLUDE_DIR)/package.mk
  16. define Package/mg
  17. SECTION:=utils
  18. CATEGORY:=Utilities
  19. DEPENDS:=+libncurses +libpcre
  20. TITLE:=microscopic EMACS style editor
  21. URL:=https://github.com/ibara/mg
  22. SUBMENU:=Editors
  23. endef
  24. define Package/mg/description
  25. Mg is intended to be a small, fast, and portable editor for people who
  26. can't (or don't want to) run emacs for one reason or another, or are not
  27. familiar with the vi editor. It is compatible with emacs because there
  28. shouldn't be any reason to learn more editor types than emacs or vi.
  29. endef
  30. define Package/mg/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_BUILD_DIR)/mg $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,mg))