From aae534c504555b35f0ae40898b00106a84e17bec Mon Sep 17 00:00:00 2001 From: Francis Mendes Date: Sun, 12 Jun 2011 10:50:34 +0200 Subject: package: add statserial Signed-off-by: Francis M. de P. Mendes Signed-off-by: Peter Korsgaard --- package/statserial/Config.in | 11 +++++++++++ package/statserial/statserial.mk | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 package/statserial/Config.in create mode 100644 package/statserial/statserial.mk (limited to 'package/statserial') diff --git a/package/statserial/Config.in b/package/statserial/Config.in new file mode 100644 index 000000000..4db5eb1aa --- /dev/null +++ b/package/statserial/Config.in @@ -0,0 +1,11 @@ +config BR2_PACKAGE_STATSERIAL + bool "statserial" + select BR2_PACKAGE_NCURSES + help + Displays a table of the signals on a standard + 9-pin or 25-pin serial port, and indicates the + status of the handshaking lines. It can be + useful for debugging problems with serial + ports or modems. + + https://sites.google.com/site/tranter/software diff --git a/package/statserial/statserial.mk b/package/statserial/statserial.mk new file mode 100644 index 000000000..b6a8a0fc2 --- /dev/null +++ b/package/statserial/statserial.mk @@ -0,0 +1,19 @@ +############################################################# +# +# statserial +# +############################################################# +STATSERIAL_VERSION = 1.1 +STATSERIAL_SOURCE = statserial-$(STATSERIAL_VERSION).tar.gz +STATSERIAL_SITE = http://www.ibiblio.org/pub/Linux/system/serial/ +STATSERIAL_DEPENDENCIES = ncurses + +define STATSERIAL_BUILD_CMDS + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) +endef + +define STATSERIAL_INSTALL_TARGET_CMDS + $(INSTALL) -D -m 0755 $(@D)/statserial $(TARGET_DIR)/usr/bin/statserial +endef + +$(eval $(call GENTARGETS,package,statserial)) -- cgit v1.2.3