dev-libs/libmodbus: Merge libmodbus required by linuxcnc, ebuild modified from linuxcnc community

sci-misc/linuxcnc: Merge libcnc required by linuxcnc, ebuild modified from linuxcnc community

Signed-off-by: chunhui ouyang <jack9603301@163.com>
This commit is contained in:
chunhui ouyang
2022-06-08 22:19:35 +08:00
parent e36b5cb9d6
commit 402f78f998
5 changed files with 176 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST libmodbus-3.0.6.tar.gz 504757 SHA256 046d63f10f755e2160dc56ef681e5f5ad3862a57c1955fd82e0ce036b69471b6 SHA512 47a271b3677822701bac924f3e3245e3db72dbadfe1d860ae5d8171b32d2dbb1c761a351d055eafc661a15bc13cb60b793b2b0f9654bbafcf01b457d51991dca WHIRLPOOL f586f4e98083d9eccda7bc49dfda2ff24b167e50fb7cbf9a515066cef179b8a43190daecbf2de0871d09d443ff5d1ec871a77590b8d6f0d992354912a80d5215

View File

@@ -0,0 +1,25 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Thanks to the original author for the code, xmw@gentoo.org for the code
EAPI=8
DESCRIPTION="Modbus library which supports RTU communication over a serial line or a TCP link"
HOMEPAGE="http://libmodbus.org/"
SRC_URI="http://libmodbus.org/releases/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
src_configure() {
econf \
--disable-silent-rules \
$(use_enable static-libs static)
}
src_install() {
emake install DESTDIR="${D}"
use static-libs || rm "${D}"/usr/*/libmodbus.la
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>jack9603301@163.com</email>
<name>Michael Weber</name>
</maintainer>
</pkgmetadata>