2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR)/rules.mk
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://dev.yorhel.nl/download
16 PKG_MD5SUM:=7365ac46c420bc511621216b1747984f
22 PKG_LICENSE_FILES:=COPYING
24 include $(INCLUDE_DIR)/package.mk
31 TITLE:=ncurses disk usage viewer
32 MAINTAINER:=Charles Lehner <celehner1@gmail.com>
33 URL:=https://dev.yorhel.nl/ncdu
36 define Package/ncdu/description
37 Ncdu is a ncurses-based du viewer. It provides a fast and easy-to-use
38 interface through famous du utility. It allows one to browse through the
39 directories and show percentages of disk usage with ncurses library.
42 CONFIGURE_ARGS += --with-ncurses
44 define Package/ncdu/install
45 $(INSTALL_DIR) $(1)/usr/bin
46 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
49 $(eval $(call BuildPackage,ncdu))