Patchwork ncdu: new package

login
register
mail settings
Submitter Bogdan Radulescu
Date Jan. 16, 2013, 2:49 p.m.
Message ID <1358347774-11998-2-git-send-email-bogdan@nimblex.net>
Download mbox | patch
Permalink /patch/212506/
State Changes Requested
Headers show

Comments

Bogdan Radulescu - Jan. 16, 2013, 2:49 p.m.
---
 package/Config.in      |  1 +
 package/ncdu/Config.in |  7 +++++++
 package/ncdu/ncdu.mk   | 14 ++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/ncdu/Config.in
 create mode 100644 package/ncdu/ncdu.mk
Peter Korsgaard - Jan. 20, 2013, 8:45 p.m.
>>>>> "Bogdan" == Bogdan Radulescu <bogdan@nimblex.net> writes:

 Bogdan> ---
 Bogdan>  package/Config.in      |  1 +
 Bogdan>  package/ncdu/Config.in |  7 +++++++
 Bogdan>  package/ncdu/ncdu.mk   | 14 ++++++++++++++
 Bogdan>  3 files changed, 22 insertions(+)
 Bogdan>  create mode 100644 package/ncdu/Config.in
 Bogdan>  create mode 100644 package/ncdu/ncdu.mk

 Bogdan> diff --git a/package/Config.in b/package/Config.in
 Bogdan> index c59f342..e981ac2 100644
 Bogdan> --- a/package/Config.in
 Bogdan> +++ b/package/Config.in
 Bogdan> @@ -778,6 +778,7 @@ if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 Bogdan>  source "package/module-init-tools/Config.in"
 Bogdan>  endif
 Bogdan>  source "package/monit/Config.in"
 Bogdan> +source "package/ncdu/Config.in"
 Bogdan>  if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 Bogdan>  source "package/procps/Config.in"
 Bogdan>  source "package/psmisc/Config.in"
 Bogdan> diff --git a/package/ncdu/Config.in b/package/ncdu/Config.in
 Bogdan> new file mode 100644
 Bogdan> index 0000000..dac7444
 Bogdan> --- /dev/null
 Bogdan> +++ b/package/ncdu/Config.in
 Bogdan> @@ -0,0 +1,7 @@
 Bogdan> +config BR2_PACKAGE_NCDU
 Bogdan> +	bool "ncdu"
 Bogdan> +	select BR2_PACKAGE_NCURSES
 Bogdan> +	help
 Bogdan> +	  ncdu is a disk usage analyzer with an ncurses interface
 Bogdan> +
 Bogdan> +	  http://dev.yorhel.nl/ncdu
 Bogdan> diff --git a/package/ncdu/ncdu.mk b/package/ncdu/ncdu.mk
 Bogdan> new file mode 100644
 Bogdan> index 0000000..5c28178
 Bogdan> --- /dev/null
 Bogdan> +++ b/package/ncdu/ncdu.mk
 Bogdan> @@ -0,0 +1,14 @@
 Bogdan> +#############################################################
 Bogdan> +#
 Bogdan> +# ncdu
 Bogdan> +#
 Bogdan> +#############################################################
 Bogdan> +NCDU_VERSION = 1.9

We normally have an empty line before the _VERSION line. Other than that
it looks good - Committed, thanks.
Peter Korsgaard - Jan. 20, 2013, 8:47 p.m.
>>>>> "Peter" == Peter Korsgaard <jacmet@uclibc.org> writes:

 Bogdan> +NCDU_VERSION = 1.9

 Peter> We normally have an empty line before the _VERSION line. Other
 Peter> than that it looks good - Committed, thanks.

Ups, too fast. You forgot your signed-off-by so I cannot commit
it. Please resend with it (git commit -s).

Patch

diff --git a/package/Config.in b/package/Config.in
index c59f342..e981ac2 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -778,6 +778,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..dac7444
--- /dev/null
+++ b/package/ncdu/Config.in
@@ -0,0 +1,7 @@ 
+config BR2_PACKAGE_NCDU
+	bool "ncdu"
+	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..5c28178
--- /dev/null
+++ b/package/ncdu/ncdu.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# ncdu
+#
+#############################################################
+NCDU_VERSION = 1.9
+NCDU_SITE = http://dev.yorhel.nl/download/
+
+NCDU_DEPENDENCIES = ncurses
+
+NCDU_LICENSE = MIT
+NCDU_LICENSE_FILES = COPYING
+
+$(eval $(autotools-package))