summaryrefslogtreecommitdiff
path: root/dev-libs/libmodbus
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libmodbus')
-rw-r--r--dev-libs/libmodbus/Manifest2
-rw-r--r--dev-libs/libmodbus/libmodbus-3.1.11.ebuild31
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest
index 97cac0ee46f9..e3acbbc7cf47 100644
--- a/dev-libs/libmodbus/Manifest
+++ b/dev-libs/libmodbus/Manifest
@@ -1,3 +1,5 @@
DIST libmodbus-3.1.10.tar.gz 463325 BLAKE2B ea1c54e52f0927e9e97b2303b35925d6a40b30f1eed881eeed2d05a229c858ebdde6212431699e24a331744b30f447dfe6704c7ca0d4eb73d193ae5b5055c4b3 SHA512 d9a56d2cd3285823b287b6bf4f79741f2e626e09cfc1872405a306e8dcc0f64c15695e8aee45614071c615cd248b87293ef2351c830120a515d28303bad0ccee
+DIST libmodbus-3.1.11.tar.gz 478276 BLAKE2B 7fb6c5cc05bca71067b377211da78046abefb9bd74c8f0f0c567324ea7c874d7aa509e2d67f9a1fd9288719e87fdbca280cf4d5612e222f1ef0ef613b2fae988 SHA512 76192230c548640b0954b471aa5d346488115d0690bd932370814f442de56c4316002a5f0288f5955a4b396168ebe7c463a40a029e57df16c7fa4b3d83af6acb
EBUILD libmodbus-3.1.10.ebuild 690 BLAKE2B adf47b3463e698daba8b23f060243ea71aa464252fad1e77c401647a1a20e71ee0c5b361410af6aabe8aa8803d30a08fcbf899458ce657cd8b59606824081115 SHA512 23ad79d565fa84c21a337a61405c6cf911e06f4f753092fd58f9b64f1a0cb6ec444601303f2290d405af031792a509e4ecafb803dff3723f237c21faa843e5fc
+EBUILD libmodbus-3.1.11.ebuild 694 BLAKE2B 5f5ac1f409ec36b3a4e66d200f9483469c9dbae885f825bbe15688eefe1615e216de79efc720ef4d721dddef182285dda8e87eab53ab8ffc8016f117c3170437 SHA512 b82027ec78a24a96b26509beaa503b32224c8706b86a2f35f624b884605ecb5159675ee0331a959b8a2f1f7beb0953d9a7dd82f3f8f5cea70ff45af254adad96
MISC metadata.xml 400 BLAKE2B 13cbac9e5f8b0b4af1330ef236dff85b8d3f167cabb19979942fa610c525c9d0b532e5c6a359f716ab198872f622dbbbe9575fc1ab53f82b8abe8e4996e6d921 SHA512 248080a171c05cca240271d8dc3e7cd0b30e78100697dddf0a0d8216d4d0c42abc9c52731b0abaa5de9dbacf9c402ada6e1b406699b7eefdb0ede78717d587c5
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
+}