mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
+7
-4
@@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
# Copyright (C) 2015 OpenWrt.org
|
||||||
#
|
#
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
# See /LICENSE for more information.
|
# See /LICENSE for more information.
|
||||||
@@ -8,14 +8,15 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=ncdu
|
PKG_NAME:=ncdu
|
||||||
PKG_VERSION:=1.10
|
PKG_VERSION:=1.11
|
||||||
PKG_RELEASE=1
|
PKG_RELEASE=1
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://dev.yorhel.nl/download
|
PKG_SOURCE_URL:=http://dev.yorhel.nl/download
|
||||||
PKG_MD5SUM:=7535decc8d54eca811493e82d4bfab2d
|
PKG_MD5SUM:=9e44240a5356b029f05f0e70a63c4d12
|
||||||
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
PKG_LICENSE:=MIT
|
PKG_LICENSE:=MIT
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
@@ -26,7 +27,7 @@ define Package/ncdu
|
|||||||
SUBMENU:=Filesystem
|
SUBMENU:=Filesystem
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=+libncursesw
|
DEPENDS:=+libncurses
|
||||||
TITLE:=ncurses disk usage viewer
|
TITLE:=ncurses disk usage viewer
|
||||||
MAINTAINER:=Charles Lehner <celehner1@gmail.com>
|
MAINTAINER:=Charles Lehner <celehner1@gmail.com>
|
||||||
URL:=http://dev.yorhel.nl/ncdu
|
URL:=http://dev.yorhel.nl/ncdu
|
||||||
@@ -38,6 +39,8 @@ define Package/ncdu/description
|
|||||||
directories and show percentages of disk usage with ncurses library.
|
directories and show percentages of disk usage with ncurses library.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
CONFIGURE_ARGS += --with-ncurses
|
||||||
|
|
||||||
define Package/ncdu/install
|
define Package/ncdu/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ncdu $(1)/usr/bin/
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
--- a/src/shell.c
|
||||||
|
+++ b/src/shell.c
|
||||||
|
@@ -33,6 +33,7 @@
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
+#include <sys/wait.h>
|
||||||
|
|
||||||
|
void shell_draw() {
|
||||||
|
char *full_path;
|
||||||
|
int res;
|
||||||
Reference in New Issue
Block a user