Commit aae534c5 authored by Francis Mendes's avatar Francis Mendes Committed by Peter Korsgaard
Browse files

package: add statserial

parent c324cf05
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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"
+11 −0
Original line number Diff line number Diff line
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
+19 −0
Original line number Diff line number Diff line
#############################################################
#
# 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))