[OpenWrt-Devel] [PATCH 2/2] ncdu: optimize build
Charles Lehner
cel at celehner.com
Sat May 2 11:50:58 EDT 2015
- depend on more commonly used libncurses instead of libncursesw
- enable parallel build
Signed-off-by: Charles Lehner <cel at celehner.com>
---
utils/ncdu/Makefile | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/utils/ncdu/Makefile b/utils/ncdu/Makefile
index bae46bd..4715a80 100644
--- a/utils/ncdu/Makefile
+++ b/utils/ncdu/Makefile
@@ -9,13 +9,14 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ncdu
PKG_VERSION:=1.11
-PKG_RELEASE=1
+PKG_RELEASE=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dev.yorhel.nl/download
PKG_MD5SUM:=9e44240a5356b029f05f0e70a63c4d12
PKG_INSTALL:=1
+PKG_BUILD_PARALLEL:=1
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=COPYING
@@ -26,7 +27,7 @@ define Package/ncdu
SUBMENU:=Filesystem
SECTION:=utils
CATEGORY:=Utilities
- DEPENDS:=+libncursesw
+ DEPENDS:=+libncurses
TITLE:=ncurses disk usage viewer
MAINTAINER:=Charles Lehner <celehner1 at gmail.com>
URL:=http://dev.yorhel.nl/ncdu
@@ -38,6 +39,8 @@ define Package/ncdu/description
directories and show percentages of disk usage with ncurses library.
endef
+CONFIGURE_ARGS += --with-ncurses
+
define Package/ncdu/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
--
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list