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 41942158092 for ; Sun, 5 Jun 2022 14:51:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4EC2FE089C; Sun, 5 Jun 2022 14:51:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 395E0E089C for ; Sun, 5 Jun 2022 14:51:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 575D0341AC8 for ; Sun, 5 Jun 2022 14:51:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 059AA485 for ; Sun, 5 Jun 2022 14:51:54 +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: <1654440701.c6230bcce74207d07622a088678daa6c8aeb7b35.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.7.ebuild X-VCS-Directories: dev-libs/libmodbus/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c6230bcce74207d07622a088678daa6c8aeb7b35 X-VCS-Branch: master Date: Sun, 5 Jun 2022 14:51:54 +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: 704e2266-5921-49be-8ca1-3e4a9919a24f X-Archives-Hash: 88935c92749520f87852759dbbadfa44 commit: c6230bcce74207d07622a088678daa6c8aeb7b35 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Jun 5 14:51:11 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Jun 5 14:51:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6230bcc dev-libs/libmodbus: add 3.1.7 Signed-off-by: Conrad Kostecki gentoo.org> dev-libs/libmodbus/Manifest | 1 + dev-libs/libmodbus/libmodbus-3.1.7.ebuild | 39 +++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index 7330e2fd00cf..a71fc07534f5 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1 +1,2 @@ DIST libmodbus-3.1.6.tar.gz 479565 BLAKE2B d9aecb57a0dd274c54a62f707c90c83f31500dd76aefc38c2615d9ce32df659613511e1b567cc385fd2b05aa473dbfbb65ae248d93bb7df2fbfcd7b16b7c5701 SHA512 2e39aea41b1cfb30239c3d8271c68841d645a44a15019090e2efd16979bde373c76532f992aa6a4587b95c65ed9829705f32e698e445df7c0e1d52d0d1165bce +DIST libmodbus-3.1.7.tar.gz 490162 BLAKE2B 3ba8353fbf6849597b1affdb8dc318b8dc1e2f66b0c1bc9f5f3c8286d48609be6d85d84269d31510fe292a48010a72e7a678b748f3c03117a6230651fa80fe91 SHA512 e2c00bd06d0b4a16c8edbfd25a95695b782cf459cd69a7cefc1cfa5e4025f23b2896487b48876ccf2f8050e8cdef4a76d322c9752a43cd8dd2c634df9406bada diff --git a/dev-libs/libmodbus/libmodbus-3.1.7.ebuild b/dev-libs/libmodbus/libmodbus-3.1.7.ebuild new file mode 100644 index 000000000000..48c8397cd030 --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.7.ebuild @@ -0,0 +1,39 @@ +# 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://libmodbus.org/releases/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs test doc" +RESTRICT="!test? ( test )" + +BDEPEND=" + doc? ( + app-text/asciidoc + app-text/xmlto + ) +" + +src_configure() { + local myeconfargs=( + $(use_enable test tests) + $(use_enable static-libs static) + $(use_with doc documentation) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die + fi +}