On Mon, Apr 26, 2010 at 01:42:42PM +0200, Carsten Schlote wrote: > From: Carsten Schlote <c.schl...@konzeptpark.de> > > Added simple tool to monitor modem status lines on serial ports. Either > display > line status with an ncurses interface or return a decimal or hex value. > > Useful to check operation of serial ports with an EOL test. > > Signed-off-by: Carsten Schlote <c.schl...@konzeptpark.de> > --- > .../statserial-1.1.orig/crosscompile-fixes.patch | 42 +++++++++++ > patches/statserial-1.1.orig/series | 2 + > .../statserial-1.1.orig/statserial_1.1-22.diff.gz | Bin 0 -> 3135 bytes
No .gz please, remove the debian/* stuff, add add a patch header. [...] > --- /dev/null > +++ b/rules/statserial.make > @@ -0,0 +1,74 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2010 by konzeptpark GmbH an email address for the copyright > +# > +# See CREDITS for details about who has contributed to this project. > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_STATSERIAL) += statserial > + > +# > +# Paths and names > +# > +STATSERIAL_VERSION := 1.1.orig > +STATSERIAL := statserial-$(STATSERIAL_VERSION) > +STATSERIAL_SUFFIX := tar.gz > +STATSERIAL_URL := > http://archive.ubuntu.com/ubuntu/pool/universe/s/statserial/statserial_$(STATSERIAL_VERSION).$(STATSERIAL_SUFFIX) > +STATSERIAL_SOURCE := $(SRCDIR)/$(STATSERIAL).$(STATSERIAL_SUFFIX) > +STATSERIAL_DIR := $(BUILDDIR)/$(STATSERIAL) > +STATSERIAL_LICENSE := GPL > + > +# > ---------------------------------------------------------------------------- > +# Get > +# > ---------------------------------------------------------------------------- > + > +$(STATSERIAL_SOURCE): > + @$(call targetinfo) > + @$(call get, STATSERIAL) > + @ln -s statserial_$(STATSERIAL_VERSION).$(STATSERIAL_SUFFIX) > $(SRCDIR)/$(STATSERIAL).$(STATSERIAL_SUFFIX) > + > +# > ---------------------------------------------------------------------------- > +# Prepare > +# > ---------------------------------------------------------------------------- > + > +# > +# autoconf > +# > +STATSERIAL_CONF_TOOL := NO > + > +# > ---------------------------------------------------------------------------- > +# Compile > +# > ---------------------------------------------------------------------------- > + > +STATSERIAL_MAKE_ENV := $(CROSS_ENV) \ > + LD=$(CROSS_CC) STATSERIAL_MAKE_ENV := \ $(CROSS_ENV) \ LD=$(CROSS_CC) > + > +# > ---------------------------------------------------------------------------- > +# Target-Install > +# > ---------------------------------------------------------------------------- > + > +$(STATEDIR)/statserial.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, statserial) > + @$(call install_fixup, statserial,PACKAGE,statserial) > + @$(call install_fixup, statserial,PRIORITY,optional) > + @$(call install_fixup, statserial,VERSION,$(STATSERIAL_VERSION)) > + @$(call install_fixup, statserial,SECTION,base) > + @$(call install_fixup, statserial,AUTHOR,"konzeptpark GmbH") dito > + @$(call install_fixup, statserial,DEPENDS,) > + @$(call install_fixup, statserial,DESCRIPTION,Simple tool to monitor > modem status lines on serial ports) > + > + @$(call install_copy, statserial, 0, 0, 0755, > $(STATSERIAL_DIR)/statserial, /usr/bin/statserial) @$(call install_copy, statserial, 0, 0, 0755, -, /usr/bin/statserial) mol -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de