Thanks, applied as ec8205440cab7d6eba63f4917a34d99a88329d48.

Michael

[sent from post-receive hook]

On Sun, 14 Mar 2021 14:35:26 +0100, Alexander Dahl <[email protected]> wrote:
> Signed-off-by: Alexander Dahl <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> 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 <[email protected]>
> +#
> +# 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 
> <[email protected]>")
> +     @$(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
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to