nanocom: new package
PATCH 1/1 nanocom: new package
From: Simon Dawson <[email protected]>
Signed-off-by Simon Dawson <[email protected]>
--- package/Config.in | 1 + package/nanocom/Config.in | 11 +++++++++++ package/nanocom/nanocom.mk | 27 +++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 package/nanocom/Config.in create mode 100644 package/nanocom/nanocom.mk
package/Config.in +1 -0
@@ -206,6 +206,7 @@ source "package/mdadm/Config.in" source "package/memtester/Config.in" source "package/minicom/Config.in" source "package/mtd/Config.in" +source "package/nanocom/Config.in" source "package/ntfs-3g/Config.in" source "package/ofono/Config.in" source "package/open2300/Config.in"
package/nanocom/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_NANOCOM + bool "nanocom" + help + Nanocom is based upon microcom (http://microcom.port5.com/) but + removes the scripting and logging features while introducing support + for setting local/remote echo, parity and stop bits. It also follows + a more standard command line style using the getopt function. + Internally much of the code has been rewritten and reformatted, the + menu system in particular is almost entirely different. + + http://nanocom.sourceforge.net/
package/nanocom/nanocom.mk new file +27 -0
@@ -0,0 +1,27 @@ +############################################################# +# +# nanocom +# +############################################################# +NANOCOM_VERSION = 2.6.1 +NANOCOM_SOURCE = nanocom.tar.gz +NANOCOM_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/nanocom/nanocom/v1.0 + +# N.B. Don't strip any path components during extraction. +define NANOCOM_EXTRACT_CMDS + gzip -d -c $(DL_DIR)/$(NANOCOM_SOURCE) | tar --strip-components=0 -C $(NANOCOM_DIR) -xf - +endef + +define NANOCOM_BUILD_CMDS + $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) +endef + +define NANOCOM_INSTALL_TARGET_CMDS + $(INSTALL) -m 0755 -D $(@D)/nanocom $(TARGET_DIR)/usr/bin/nanocom +endef + +define NANOCOM_UNINSTALL_TARGET_CMDS + $(RM) $(TARGET_DIR)/usr/bin/nanocom +endef + +$(eval $(call GENTARGETS))
Signature · 1 line
1.7.9.5
PATCH 1/1 nanocom: new package
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"spdawson" == spdawson <[email protected]> writes:
spdawson> From: Simon Dawson <[email protected]> spdawson> Signed-off-by: Simon Dawson <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard