From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: In-Reply-To: <20210303080043.8689-1-post@lespocky.de> MIME-Version: 1.0 Message-Id: From: Michael Olbrich Date: Sun, 14 Mar 2021 14:35:26 +0100 Subject: Re: [ptxdist] [APPLIED] libserialport: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Alexander Dahl Thanks, applied as ec8205440cab7d6eba63f4917a34d99a88329d48. Michael [sent from post-receive hook] On Sun, 14 Mar 2021 14:35:26 +0100, Alexander Dahl wrote: > Signed-off-by: Alexander Dahl > Message-Id: <20210303080043.8689-1-post@lespocky.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/libserialport.in b/rules/libserialport.in > new file mode 100644 > index 000000000000..bc5d4b76ad02 > --- /dev/null > +++ b/rules/libserialport.in > @@ -0,0 +1,13 @@ > +## SECTION=communication > + > +config LIBSERIALPORT > + tristate > + prompt "libserialport" > + help > + libserialport is a minimal library written in C that is > + intended to take care of the OS-specific details when writing > + software that uses serial ports. > + > + https://sigrok.org/wiki/Libserialport > + > +# vim: ft=kconfig noet tw=72 ts=8 sw=8 > diff --git a/rules/libserialport.make b/rules/libserialport.make > new file mode 100644 > index 000000000000..472232911002 > --- /dev/null > +++ b/rules/libserialport.make > @@ -0,0 +1,52 @@ > +# -*-makefile-*- > +# > +# Copyright (C) 2020 by Alexander Dahl > +# > +# For further information about the PTXdist project and license conditions > +# see the README file. > +# > + > +# > +# We provide this package > +# > +PACKAGES-$(PTXCONF_LIBSERIALPORT) += libserialport > + > +# > +# Paths and names > +# > +LIBSERIALPORT_VERSION := 0.1.1 > +LIBSERIALPORT_MD5 := b93f0325a6157198152b5bd7e8182b51 > +LIBSERIALPORT := libserialport-$(LIBSERIALPORT_VERSION) > +LIBSERIALPORT_SUFFIX := tar.gz > +LIBSERIALPORT_URL := http://sigrok.org/download/source/libserialport/$(LIBSERIALPORT).$(LIBSERIALPORT_SUFFIX) > +LIBSERIALPORT_SOURCE := $(SRCDIR)/$(LIBSERIALPORT).$(LIBSERIALPORT_SUFFIX) > +LIBSERIALPORT_DIR := $(BUILDDIR)/$(LIBSERIALPORT) > +LIBSERIALPORT_LICENSE := LGPL-3.0-or-later > +LIBSERIALPORT_LICENSE_FILES := file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02 > + > +# ---------------------------------------------------------------------------- > +# Prepare > +# ---------------------------------------------------------------------------- > + > +LIBSERIALPORT_CONF_TOOL := autoconf > + > +# ---------------------------------------------------------------------------- > +# Target-Install > +# ---------------------------------------------------------------------------- > + > +$(STATEDIR)/libserialport.targetinstall: > + @$(call targetinfo) > + > + @$(call install_init, libserialport) > + @$(call install_fixup, libserialport,PRIORITY,optional) > + @$(call install_fixup, libserialport,SECTION,base) > + @$(call install_fixup, libserialport,AUTHOR,"Alexander Dahl ") > + @$(call install_fixup, libserialport,DESCRIPTION,missing) > + > + @$(call install_lib, libserialport, 0, 0, 0644, libserialport) > + > + @$(call install_finish, libserialport) > + > + @$(call touch) > + > +# vim: ft=make noet tw=72 ts=8 sw=8 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de