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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DB0E158021 for ; Sat, 10 Dec 2022 13:27:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFA31E0827; Sat, 10 Dec 2022 13:27:05 +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 A57B0E0827 for ; Sat, 10 Dec 2022 13:27:05 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C77C341221 for ; Sat, 10 Dec 2022 13:27:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8FD1177F for ; Sat, 10 Dec 2022 13:27:02 +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: <1670678807.a08a9c303441cb0b9f30c2cd2ce76a590dc9140e.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.10.ebuild X-VCS-Directories: dev-libs/libmodbus/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a08a9c303441cb0b9f30c2cd2ce76a590dc9140e X-VCS-Branch: master Date: Sat, 10 Dec 2022 13:27:02 +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: 25c8773e-6a7b-45d9-84ad-c85318295b59 X-Archives-Hash: 0213d91886491bac0a3d78e36a60754e commit: a08a9c303441cb0b9f30c2cd2ce76a590dc9140e Author: Conrad Kostecki gentoo org> AuthorDate: Sat Dec 10 13:21:49 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Dec 10 13:26:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a08a9c30 dev-libs/libmodbus: add 3.1.10 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/libmodbus/Manifest | 1 + dev-libs/libmodbus/libmodbus-3.1.10.ebuild | 31 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index 82542b5051da..8f452a90fb25 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1,2 +1,3 @@ +DIST libmodbus-3.1.10.tar.gz 463325 BLAKE2B ea1c54e52f0927e9e97b2303b35925d6a40b30f1eed881eeed2d05a229c858ebdde6212431699e24a331744b30f447dfe6704c7ca0d4eb73d193ae5b5055c4b3 SHA512 d9a56d2cd3285823b287b6bf4f79741f2e626e09cfc1872405a306e8dcc0f64c15695e8aee45614071c615cd248b87293ef2351c830120a515d28303bad0ccee DIST libmodbus-3.1.8.tar.gz 459999 BLAKE2B e5cb17dd260f3d0a25aedb2cecaa35f21c116458b0a46c7fe3ecc51d6ceb162fa387bb3ad18ff78c89f39645184ecc5bb164ef7cef2d091d2727750bdb0e429a SHA512 1158ac52cf92d3f8f8afaa23b67e841018f94c09521464a4c28ab724f7f2beb0eb567d574c2d81cfb1e3df9436cd2635b52a886656985b27df3a27693957d2df DIST libmodbus-3.1.9.tar.gz 462649 BLAKE2B 2812b49a908af7906b596c0389050d688294ba415ee7e92211d8a8fb8868ec80388737fb2f7224e59b51861ee76b72cc7464a47b55ba5d086e89c9ff7d0f981b SHA512 6b26049939409ceba7dbafc079138553977dafac5284fdb39e1481c1d2ac29bef22123496819356f9e29d73705d3a9c71075823f0ad102293c4d9efd06fac00c diff --git a/dev-libs/libmodbus/libmodbus-3.1.10.ebuild b/dev-libs/libmodbus/libmodbus-3.1.10.ebuild new file mode 100644 index 000000000000..de8b52473bfe --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.10.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 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 ~arm64 ~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 +}