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.

38 lines
973 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=nnn
  3. PKG_VERSION:=4.2
  4. PKG_RELEASE:=$(AUTORELEASE)
  5. PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
  6. PKG_SOURCE_URL:=https://codeload.github.com/jarun/nnn/tar.gz/v$(PKG_VERSION)?
  7. PKG_HASH:=5675f9fe53bddfd92681ef88bf6c0fab3ad897f9e74dd6cdff32fe1fa62c687f
  8. PKG_MAINTAINER:=Josef Schlehofer <pepe.schlehofer@gmail.com>
  9. PKG_LICENSE:=BSD-2-Clause
  10. PKG_LICENSE_FILES:=LICENSE
  11. PKG_BUILD_PARALLEL:=1
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/nnn
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. TITLE:=Full-featured terminal file manager
  17. URL:=https://github.com/jarun/nnn
  18. DEPENDS:=+libncurses +libreadline +musl-fts
  19. endef
  20. define Package/nnn/description
  21. nnn is full-featured tiny terminal file manager and
  22. disk usage analyzer, fuzzy app launcher, batch file renamer
  23. and file picker.
  24. endef
  25. define Package/nnn/install
  26. $(INSTALL_DIR) $(1)/usr/bin
  27. $(INSTALL_BIN) $(PKG_BUILD_DIR)/nnn $(1)/usr/bin
  28. endef
  29. $(eval $(call BuildPackage,nnn))