From patchwork Mon Dec 10 09:24:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Bogdan Radulescu X-Patchwork-Id: 204836 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 1211D2C017D for ; Mon, 10 Dec 2012 20:24:16 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DA050310A4; Mon, 10 Dec 2012 09:24:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CHTnhprXZRta; Mon, 10 Dec 2012 09:24:13 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3E86730DE3; Mon, 10 Dec 2012 09:24:13 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E6B768F74B for ; Mon, 10 Dec 2012 09:24:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BA14280612 for ; Mon, 10 Dec 2012 09:24:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Rx8aVzDRGc6 for ; Mon, 10 Dec 2012 09:24:09 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm38-vm6.bullet.mail.ne1.yahoo.com (nm38-vm6.bullet.mail.ne1.yahoo.com [98.138.229.150]) by whitealder.osuosl.org (Postfix) with ESMTPS id 28EDD805F5 for ; Mon, 10 Dec 2012 09:24:09 +0000 (UTC) Received: from [98.138.90.49] by nm38.bullet.mail.ne1.yahoo.com with NNFMP; 10 Dec 2012 09:24:08 -0000 Received: from [98.138.226.165] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 10 Dec 2012 09:24:07 -0000 Received: from [127.0.0.1] by omp1066.mail.ne1.yahoo.com with NNFMP; 10 Dec 2012 09:24:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 808073.78711.bm@omp1066.mail.ne1.yahoo.com Received: (qmail 70716 invoked by uid 60001); 10 Dec 2012 09:24:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1355131447; bh=RfQejJHsXUykcgkfgqF7wwRbshf/q/CFZMRynxT9PT4=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=eE6k+qgy2ynlWDRd/RnE2iP4g+nne8qaVylpxymyv6cICeDLK8tTwMF5LMpxNCwz6zLQ10MpzAzi69jzYBiSWZtQ4FOYGm1cqCcAKG6MHvjCYWwnWsBJspRaw3ocTVk23NSm1rrIsnPzNBOUxx/ImpsIFS1urcds48u7f7yUXho= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=PgmZ+xnk2Jn/1mcNK2PfBPhuOfaZDUuCVZnwoKl0pVTlBUEuDUTw9r+5wO1IjrxxgglMcC/4BXn1s03tZGRY1g4Bc1k1Hlp7CxHoxrkNIW76SXPNvtU/u73jrjvZiFEjW87lVoYvBF8Rtt03LNU1o1Z6Uoa3O4KPo0Cd3wyJTV4=; X-YMail-OSG: .Jl._AMVM1l2Pa5xUdqKsv_ofjn8H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Yi9wYWNrYWdlL0NvbmZpZy5pbgppbmRleCA3NGU0MzllLi44MzA3ODA2IDEwMDYBMAEBAQE- X-Mailer: YahooMailWebService/0.8.128.478 Message-ID: <1355131447.60988.YahooMailNeo@web120305.mail.ne1.yahoo.com> Date: Mon, 10 Dec 2012 01:24:07 -0800 (PST) From: Bogdan Radulescu To: "buildroot@busybox.net" MIME-Version: 1.0 Subject: [Buildroot] [PATCH] package/ncdu: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Bogdan Radulescu List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@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))