Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <[email protected]>
PATCH 1/1 Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <[email protected]>
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
package/Config.in +1 -0
@@ -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"
package/nut/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_NUT + bool "nut" + help + Network UPS tools + + www.networkupstools.org
package/nut/nut.mk new file +10 -0
@@ -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))
PATCH 1/1 Added build configuration for Network UPS Tools (nut) package. Signed-off-by: Dallas Clement <[email protected]>
Quoted 6 lines · Dallas Clement
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 100644package/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:
---
<diffstat>
(quoted diff) +0 -0
And if you want additional comments (e.g. patch changelog) it should
go below your SOB, separated by a line containing three dashes.
[snip]
Quoted 6 lines
package/nut/nut.mk new file +0
-0
package/nut/nut.mk line 10
Quoted 10 lines
package/nut/nut.mk new file +10
-0@@ -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
Signature · 6 lines
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