Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <dallas.a.clement@gmail.com>
@ 2012-09-25 15:41 Dallas Clement
  2012-10-03  9:35 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Dallas Clement @ 2012-09-25 15:41 UTC (permalink / raw)
  To: buildroot

package/Config.in     |    1 +
 package/nut/Config.in |    6 ++++++
 package/nut/nut.mk    |   10 ++++++++++
 3 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 package/nut/Config.in
 create mode 100644 package/nut/nut.mk

diff --git a/package/Config.in b/package/Config.in
index 083cad8..bf26419 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -590,6 +590,7 @@ source "package/noip/Config.in"
 source "package/ngircd/Config.in"
 source "package/ngrep/Config.in"
 source "package/ntp/Config.in"
+source "package/nut/Config.in"
 source "package/nuttcp/Config.in"
 source "package/olsr/Config.in"
 source "package/openntpd/Config.in"
diff --git a/package/nut/Config.in b/package/nut/Config.in
new file mode 100644
index 0000000..18b2aed
--- /dev/null
+++ b/package/nut/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_NUT
+       bool "nut"
+       help
+         Network UPS tools
+
+         www.networkupstools.org
diff --git a/package/nut/nut.mk b/package/nut/nut.mk
new file mode 100644
index 0000000..7a0b7c6
--- /dev/null
+++ b/package/nut/nut.mk
@@ -0,0 +1,10 @@
+#############################################################
+#
+# nut
+#
+#############################################################
+NUT_VERSION = 2.4.3
+NUT_SOURCE = nut-$(NUT_VERSION).tar.gz
+NUT_SITE = http://www.networkupstools.org/source/2.4/
+
+$(eval $(autotools-package))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <dallas.a.clement@gmail.com>
  2012-09-25 15:41 [Buildroot] [PATCH] Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <dallas.a.clement@gmail.com> Dallas Clement
@ 2012-10-03  9:35 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2012-10-03  9:35 UTC (permalink / raw)
  To: buildroot

On 25/09/12 17:41, Dallas Clement wrote:
> package/Config.in     |    1 +
>   package/nut/Config.in |    6 ++++++
>   package/nut/nut.mk    |   10 ++++++++++
>   3 files changed, 17 insertions(+), 0 deletions(-)
>   create mode 100644 package/nut/Config.in
>   create mode 100644 package/nut/nut.mk

  I don't know which mailer you're using, but your patches don't come
through correctly.  You should have:

Subject: [PATH] nut: new package

Body:

Signed-off-by: Dallas Clement <...>
---
<diffstat>
diff --git ...

  And if you want additional comments (e.g. patch changelog) it should
go below your SOB, separated by a line containing three dashes.


[snip]
> diff --git a/package/nut/nut.mk b/package/nut/nut.mk
> new file mode 100644
> index 0000000..7a0b7c6
> --- /dev/null
> +++ b/package/nut/nut.mk
> @@ -0,0 +1,10 @@
> +#############################################################
> +#
> +# nut
> +#
> +#############################################################
> +NUT_VERSION = 2.4.3
> +NUT_SOURCE = nut-$(NUT_VERSION).tar.gz
> +NUT_SITE = http://www.networkupstools.org/source/2.4/
> +
> +$(eval $(autotools-package))

  On uClibc toolchain, it misses -lm so you should add:

NUT_CONF_ENV = LDFLAGS="$(TARGET_LDFLAGS) -lm"


  Regards,
  Arnout
-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-03  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25 15:41 [Buildroot] [PATCH] Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <dallas.a.clement@gmail.com> Dallas Clement
2012-10-03  9:35 ` Arnout Vandecappelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox