Merge pull request #11353 from kvuorine/fwknop-fixes
[feed/packages.git] / utils / ncdu / Makefile
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
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=ncdu
11 PKG_VERSION:=1.15.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=https://dev.yorhel.nl/download
16 PKG_HASH:=b02ddc4dbf1db139cc6fbbe2f54a282770380f0ca5c17089855eab52a9ea3fb0
17
18 PKG_MAINTAINER:=Charles E. Lehner <cel@celehner.com>
19 PKG_LICENSE:=MIT
20 PKG_LICENSE_FILES:=COPYING
21
22 PKG_INSTALL:=1
23 PKG_BUILD_PARALLEL:=1
24
25 include $(INCLUDE_DIR)/package.mk
26
27 define Package/ncdu
28 SUBMENU:=Filesystem
29 SECTION:=utils
30 CATEGORY:=Utilities
31 DEPENDS:=+libncurses
32 TITLE:=ncurses disk usage viewer
33 URL:=https://dev.yorhel.nl/ncdu
34 endef
35
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.
40 endef
41
42 define Package/ncdu/install
43 $(INSTALL_DIR) $(1)/usr/bin
44 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,ncdu))