mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
dev-libs/libmodbus: drop 3.1.11-r1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST libmodbus-3.1.11.tar.gz 478276 BLAKE2B 7fb6c5cc05bca71067b377211da78046abefb9bd74c8f0f0c567324ea7c874d7aa509e2d67f9a1fd9288719e87fdbca280cf4d5612e222f1ef0ef613b2fae988 SHA512 76192230c548640b0954b471aa5d346488115d0690bd932370814f442de56c4316002a5f0288f5955a4b396168ebe7c463a40a029e57df16c7fa4b3d83af6acb
|
||||
DIST libmodbus-3.1.12.tar.gz 483861 BLAKE2B ba1a8c5e39c93e0a8f44ced69cf6d12d4b303a853b1820d52f75872166c16110d0c105118d80758aa875ea36acde6997fd725a3e6c764dc95c17550efda89ec9 SHA512 5b884c5a9a817965a37304f2b15ee8e2fb5f1d2caf7e7ca9417dcc5abb593ed47339c8d4e0045c0fbeca09af80bf73cbf7d79a65eb0678a103c755a0349b727a
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
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"
|
||||
# Tests fail at least when run via the ebuild w/ a timeout assertion being hit
|
||||
# See https://github.com/stephane/libmodbus/issues/791 and https://github.com/stephane/libmodbus/pull/794
|
||||
# Try again > 3.1.11.
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.1.11-cflags.patch" )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user