* [ptxdist] [PATCH] libserialport: new package
@ 2021-03-03 8:00 Alexander Dahl
2021-03-14 13:35 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl @ 2021-03-03 8:00 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
From: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
rules/libserialport.in | 13 ++++++++++++
rules/libserialport.make | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
create mode 100644 rules/libserialport.in
create mode 100644 rules/libserialport.make
diff --git a/rules/libserialport.in b/rules/libserialport.in
new file mode 100644
index 000000000..bc5d4b76a
--- /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 000000000..472232911
--- /dev/null
+++ b/rules/libserialport.make
@@ -0,0 +1,52 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2020 by Alexander Dahl <ada@thorsis.com>
+#
+# 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 <ada@thorsis.com>")
+ @$(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
--
2.11.0
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] libserialport: new package
2021-03-03 8:00 [ptxdist] [PATCH] libserialport: new package Alexander Dahl
@ 2021-03-14 13:35 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-03-14 13:35 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Thanks, applied as ec8205440cab7d6eba63f4917a34d99a88329d48.
Michael
[sent from post-receive hook]
On Sun, 14 Mar 2021 14:35:26 +0100, Alexander Dahl <post@lespocky.de> wrote:
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20210303080043.8689-1-post@lespocky.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> 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 <ada@thorsis.com>
> +#
> +# 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 <ada@thorsis.com>")
> + @$(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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-14 13:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03 8:00 [ptxdist] [PATCH] libserialport: new package Alexander Dahl
2021-03-14 13:35 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox