From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lHMRF-0004I9-SD for ptxdist@pengutronix.de; Wed, 03 Mar 2021 09:00:58 +0100 From: Alexander Dahl Date: Wed, 3 Mar 2021 09:00:43 +0100 Message-Id: <20210303080043.8689-1-post@lespocky.de> Subject: [ptxdist] [PATCH] libserialport: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 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 From: Alexander Dahl Signed-off-by: Alexander Dahl --- 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 +# +# 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 -- 2.11.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de