From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 033F8158042 for ; Tue, 22 Oct 2024 22:26:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F1F8E0940; Tue, 22 Oct 2024 22:26:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3579CE0940 for ; Tue, 22 Oct 2024 22:26:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4F78733E3A9 for ; Tue, 22 Oct 2024 22:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 675CB1F64 for ; Tue, 22 Oct 2024 22:26:28 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1729635491.751aa5867fcbdf1fc0a9c69914e3f3fdc3ad5c00.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmodbus/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libmodbus/Manifest dev-libs/libmodbus/libmodbus-3.1.11.ebuild X-VCS-Directories: dev-libs/libmodbus/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 751aa5867fcbdf1fc0a9c69914e3f3fdc3ad5c00 X-VCS-Branch: master Date: Tue, 22 Oct 2024 22:26:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e0cbe21c-5d70-4d1b-82a2-279f7ede1e0f X-Archives-Hash: aa1c4dc5d72bbe0740a8b064789c55f8 commit: 751aa5867fcbdf1fc0a9c69914e3f3fdc3ad5c00 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Oct 22 22:18:11 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Tue Oct 22 22:18:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=751aa586 dev-libs/libmodbus: add 3.1.11 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/libmodbus/Manifest | 1 + dev-libs/libmodbus/libmodbus-3.1.11.ebuild | 31 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index a5e5c74478ae..752e27cbad86 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1 +1,2 @@ DIST libmodbus-3.1.10.tar.gz 463325 BLAKE2B ea1c54e52f0927e9e97b2303b35925d6a40b30f1eed881eeed2d05a229c858ebdde6212431699e24a331744b30f447dfe6704c7ca0d4eb73d193ae5b5055c4b3 SHA512 d9a56d2cd3285823b287b6bf4f79741f2e626e09cfc1872405a306e8dcc0f64c15695e8aee45614071c615cd248b87293ef2351c830120a515d28303bad0ccee +DIST libmodbus-3.1.11.tar.gz 478276 BLAKE2B 7fb6c5cc05bca71067b377211da78046abefb9bd74c8f0f0c567324ea7c874d7aa509e2d67f9a1fd9288719e87fdbca280cf4d5612e222f1ef0ef613b2fae988 SHA512 76192230c548640b0954b471aa5d346488115d0690bd932370814f442de56c4316002a5f0288f5955a4b396168ebe7c463a40a029e57df16c7fa4b3d83af6acb diff --git a/dev-libs/libmodbus/libmodbus-3.1.11.ebuild b/dev-libs/libmodbus/libmodbus-3.1.11.ebuild new file mode 100644 index 000000000000..aef845307db2 --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.11.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link" +HOMEPAGE="https://libmodbus.org/" +SRC_URI="https://github.com/stephane/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +src_configure() { + local myeconfargs=( + $(use_enable test tests) + $(use_enable static-libs static) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +}