net-misc/mbpoll - 1.5.2 (guru)

Search

Install

Install this version:

emerge -a =net-misc/mbpoll-1.5.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/mbpoll-1.5.2

Or alternatively:

emerge --autounmask-write -a =net-misc/mbpoll-1.5.2

Package Information

Description:
command line utility to communicate with ModBus slave (RTU or TCP)
Homepage:
https://github.com/epsilonrt/mbpoll
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
1.5.2 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="command line utility to communicate with ModBus slave (RTU or TCP)"
HOMEPAGE="https://github.com/epsilonrt/mbpoll"
SRC_URI="https://github.com/epsilonrt/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

DEPEND="dev-libs/libmodbus"
RDEPEND="${DEPEND}"

src_prepare() {
	sed -i -e 's/add_definitions(-O2)//' CMakeLists.txt
	sed -i -e 's/-O2 //' CMakeLists.txt

	cmake_src_prepare
}

Inherited Eclasses

Dependencies

DEPEND

dev-libs/libmodbus

RDEPEND

dev-libs/libmodbus

Manifest for 1.5.2

Type File Size Source URLs
DIST mbpoll-1.5.2.tar.gz 100948 bytes https://github.com/epsilonrt/mbpoll/archive/refs/tags/v1.5.2.tar.gz