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.

47 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2015 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:=ncdu
  9. PKG_VERSION:=1.16
  10. PKG_RELEASE:=$(AUTORELEASE)
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://dev.yorhel.nl/download
  13. PKG_HASH:=2b915752a183fae014b5e5b1f0a135b4b408de7488c716e325217c2513980fd4
  14. PKG_MAINTAINER:=Charles E. Lehner <cel@celehner.com>
  15. PKG_LICENSE:=MIT
  16. PKG_LICENSE_FILES:=COPYING
  17. PKG_INSTALL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/ncdu
  21. SUBMENU:=Filesystem
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. DEPENDS:=+libncurses
  25. TITLE:=ncurses disk usage viewer
  26. URL:=https://dev.yorhel.nl/ncdu
  27. endef
  28. define Package/ncdu/description
  29. Ncdu is a ncurses-based du viewer. It provides a fast and easy-to-use
  30. interface through famous du utility. It allows one to browse through the
  31. directories and show percentages of disk usage with ncurses library.
  32. endef
  33. define Package/ncdu/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,ncdu))