summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Mendes <francis.mendes@gmail.com>2011-06-12 08:50:34 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-06-12 08:50:34 (GMT)
commitaae534c504555b35f0ae40898b00106a84e17bec (patch)
tree1384b6e0911be97a3f6fcd7d778e86ab1ca53e3b
parentc324cf05be628b5506a1077a711a59a7a501b24d (diff)
downloadbuildroot-aae534c504555b35f0ae40898b00106a84e17bec.tar.gz
buildroot-aae534c504555b35f0ae40898b00106a84e17bec.tar.bz2
package: add statserial
Signed-off-by: Francis M. de P. Mendes <francis.mendes@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Config.in1
-rw-r--r--package/statserial/Config.in11
-rw-r--r--package/statserial/statserial.mk19
3 files changed, 31 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index a03896a..10d435c 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -204,6 +204,7 @@ source "package/squashfs/Config.in"
source "package/squashfs3/Config.in"
source "package/sredird/Config.in"
source "package/sshfs/Config.in"
+source "package/statserial/Config.in"
source "package/sysstat/Config.in"
source "package/udev/Config.in"
source "package/usb_modeswitch/Config.in"
diff --git a/package/statserial/Config.in b/package/statserial/Config.in
new file mode 100644
index 0000000..4db5eb1
--- /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 0000000..b6a8a0f
--- /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))