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.1 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.15
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://dev.yorhel.nl/download
  13. PKG_HASH:=4a593dc5cceb2492a9669f5f5d69d0e517de457a11036788ea4591f33c5297fb
  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))