From patchwork Mon Dec 10 09:24:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: package/ncdu: new package Date: Sun, 09 Dec 2012 23:24:07 -0000 From: Bogdan Radulescu X-Patchwork-Id: 204836 Message-Id: <1355131447.60988.YahooMailNeo@web120305.mail.ne1.yahoo.com> To: "buildroot@busybox.net" Hi, I made a patch for adding ncdu to buildroot. I find it very useful to have a quick view what uses storage space on your device. Regards, Bogdan Signed-off-by: "Bogdan Radulescu" --- diff --git a/package/Config.in b/package/Config.in index 74e439e..8307806 100644 --- a/package/Config.in +++ b/package/Config.in @@ -729,6 +729,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS  source "package/module-init-tools/Config.in"  endif  source "package/monit/Config.in" +source "package/ncdu/Config.in"  if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS  source "package/procps/Config.in"  source "package/psmisc/Config.in" diff --git a/package/ncdu/Config.in b/package/ncdu/Config.in new file mode 100644 index 0000000..46e15f9 --- /dev/null +++ b/package/ncdu/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_NCDU +       bool "iftop" +       select BR2_PACKAGE_NCURSES +       help +         ncdu is a disk usage analyzer with an ncurses interface + +         http://dev.yorhel.nl/ncdu diff --git a/package/ncdu/ncdu.mk b/package/ncdu/ncdu.mk new file mode 100644 index 0000000..3cb3de4 --- /dev/null +++ b/package/ncdu/ncdu.mk @@ -0,0 +1,15 @@ +############################################################# +# +# ncdu +# +############################################################# +NCDU_VERSION=1.9 +NCDU_SOURCE=ncdu-$(NCDU_VERSION).tar.gz +NCDU_SITE=http://dev.yorhel.nl/download/ +NCDU_INSTALL_STAGING = YES +NCDU_INSTALL_STAGING_OPT = instroot=$(STAGING_DIR) install +NCDU_INSTALL_TARGET_OPT = instroot=$(TARGET_DIR) install + +NCDU_DEPENDENCIES = ncurses + +$(eval $(autotools-package))