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.

46 lines
1.1 KiB

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