diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 15:20:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-10 15:20:44 +0000 |
commit | 177349fb1459039cc30cb8e3936af4117d038c16 (patch) | |
tree | 34c1bc161daefb8e152212dfba02b98da8a777a5 /dev-libs/libmodbus | |
parent | c15acf374d4b25ba5afcb52435da6090f2d98a20 (diff) |
gentoo auto-resync : 10:12:2022 - 15:20:44
Diffstat (limited to 'dev-libs/libmodbus')
-rw-r--r-- | dev-libs/libmodbus/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libmodbus/libmodbus-3.1.10.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index cd94e76ae356..2aa91d950014 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1,5 +1,7 @@ +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 +EBUILD libmodbus-3.1.10.ebuild 670 BLAKE2B fe2424677cd1d6edccc36f8aaa3856687ae773a41a170292dbc977387d009374dd8794965ee628cfddbed4415dda65b6097db632506c82a8486af775fdd3d2dd SHA512 448f76410d497941d6de056ec6db6a229fd5c083204aaf78624964f9587c7fb2ede1ce9ef59d594b03f3b5bb62b0fd0ae815b219625a3e0e2aaf8001b41de019 EBUILD libmodbus-3.1.8.ebuild 668 BLAKE2B 30b09a6fcfd6376e90e3f12f0d50caf9d01a0d2532f67d25af4cf288bbb4cd109816ad3f46c4e38b6e3924ee626c9e4336faa076ab778bff97524b22e4eb09d0 SHA512 4e48929c1a8d1b9de533f64a3c32fa08289caa9b04421e62f37936e1e87be7d009e859719e84635cc22a53d750aa16e619ab03885438c8cb69c5efeaa23e0d30 EBUILD libmodbus-3.1.9.ebuild 670 BLAKE2B fe2424677cd1d6edccc36f8aaa3856687ae773a41a170292dbc977387d009374dd8794965ee628cfddbed4415dda65b6097db632506c82a8486af775fdd3d2dd SHA512 448f76410d497941d6de056ec6db6a229fd5c083204aaf78624964f9587c7fb2ede1ce9ef59d594b03f3b5bb62b0fd0ae815b219625a3e0e2aaf8001b41de019 MISC metadata.xml 400 BLAKE2B 13cbac9e5f8b0b4af1330ef236dff85b8d3f167cabb19979942fa610c525c9d0b532e5c6a359f716ab198872f622dbbbe9575fc1ab53f82b8abe8e4996e6d921 SHA512 248080a171c05cca240271d8dc3e7cd0b30e78100697dddf0a0d8216d4d0c42abc9c52731b0abaa5de9dbacf9c402ada6e1b406699b7eefdb0ede78717d587c5 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 +} |