mirror of
https://github.com/openwrt/packages.git
synced 2026-04-17 11:52:29 +00:00
Release history: * Perform tilde expansion on paths in the config file (from 2.7) * Fix JSON import of escaped UTF-16 surrogate pairs (from 2.7) * Fix displaying and exporting zero values when extended info is not available (from 2.6) * Fix JSON export and import of the “other filesystem” flag (from 2.5) Signed-off-by: John Audia <therealgraysky@proton.me>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=ncdu
|
|
PKG_VERSION:=1.21
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://dev.yorhel.nl/download
|
|
PKG_HASH:=a894d3a9b46bce578a6039bef48f54533ec402fb589b0769bfbb1d1edf9601a6
|
|
|
|
PKG_MAINTAINER:=Charles E. Lehner <cel@celehner.com>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_PARALLEL:=1
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/ncdu
|
|
SUBMENU:=Filesystem
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
DEPENDS:=+libncurses
|
|
TITLE:=ncurses disk usage viewer
|
|
URL:=https://dev.yorhel.nl/ncdu
|
|
endef
|
|
|
|
define Package/ncdu/description
|
|
Ncdu is a ncurses-based du viewer. It provides a fast and easy-to-use
|
|
interface through famous du utility. It allows one to browse through the
|
|
directories and show percentages of disk usage with ncurses library.
|
|
endef
|
|
|
|
define Package/ncdu/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,ncdu))
|