lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 5583d3f70ae2da1cf9314b2d63bb02cc570611a7
parent 43d1d069fad02d97f1f10db6f87bb0192d765955
Author: Jonathan McCrohan <jmccrohan@gmail.com>
Date:   Sun, 27 Jul 2014 10:55:27 +0100

Merge pull request #133 from clehner/master

Add ncdu
Diffstat:
Autils/ncdu/Makefile | 46++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+), 0 deletions(-)

diff --git a/utils/ncdu/Makefile b/utils/ncdu/Makefile @@ -0,0 +1,46 @@ +# +# Copyright (C) 2014 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.10 +PKG_RELEASE=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://dev.yorhel.nl/download +PKG_MD5SUM:=7535decc8d54eca811493e82d4bfab2d + +PKG_INSTALL:=1 + +PKG_LICENSE:=MIT +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk + +define Package/ncdu + SUBMENU:=Filesystem + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libncursesw + TITLE:=ncurses disk usage viewer + MAINTAINER:=Charles Lehner <celehner1@gmail.com> + URL:=http://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))