diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-libs/libmodbus | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-libs/libmodbus')
-rw-r--r-- | dev-libs/libmodbus/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch | 11 | ||||
-rw-r--r-- | dev-libs/libmodbus/libmodbus-3.1.2.ebuild | 25 | ||||
-rw-r--r-- | dev-libs/libmodbus/libmodbus-3.1.4.ebuild | 33 | ||||
-rw-r--r-- | dev-libs/libmodbus/metadata.xml | 8 |
5 files changed, 83 insertions, 0 deletions
diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest new file mode 100644 index 000000000000..e41f1f74457f --- /dev/null +++ b/dev-libs/libmodbus/Manifest @@ -0,0 +1,6 @@ +AUX libmodbus-3.1.4-doc.patch 358 BLAKE2B 7f69a497411d308bc02f4881802cbd2b17ef2dc9edd527a6f9ecfa96ed70d3336f79b20c4ab8297062802465fa174f0adcd4d3ac81946eea8c1409a23b067278 SHA512 a73147873d0ddb3338608cb7bd4a44e6e333b46313e9326e7442b6b3c3fd4da97cbf93f8c92e517352d8828cc6ab6eb95a36e7fcaaa62a48774bc8f4a109b6ae +DIST libmodbus-3.1.2.tar.gz 428224 BLAKE2B d1e91f2e0f5392e3fdcd6da942cc1e8ef8c305a2583e3caf046df81f539458554158d9b8e1025f118692a22bfc9e9d07540156c40da475e9b79df524d35c86b8 SHA512 a9916bcb861f39a73ea952cc3ab58af2949a3dfbf0e964ce5327c2443b0b9d812f6b740b90aa062c106477d2d6a3badfba6b0cee0455e48484cbdb07bcf82e82 +DIST libmodbus-3.1.4.tar.gz 471576 BLAKE2B 4fc57abd784e2cfb65d19cd55a31f4b778a209141cc13b9c969dbd6052f187ba0de0031105be748aa2113f345bdb16c2b582b53635b5334f06dfdb34c5992a18 SHA512 63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c +EBUILD libmodbus-3.1.2.ebuild 593 BLAKE2B 93c696139c5e3718a3f47559b3fbcfca9b0df51688fd8e58b6660617cce5d66047c56bc47699c19af2d85e63833bd3cf4e30851447ed5cf809a2d4705fb976a1 SHA512 d773f1c3d2d830b537b8434a9079043b8eaa8383f375d6bfadb2cdf558753846345411122b4a456a9a4eca114aafa58ef72d56bb63a44db7f0db9cd56e8c4955 +EBUILD libmodbus-3.1.4.ebuild 713 BLAKE2B ab6bc6c59e9f18ad2c1d2323162805901fd6cbd92d20b866a8240893b3ab66c469e7f37187cad690fba3351536ada92dcda566d922a26508ae5956285ebcbb22 SHA512 4e6f8918c5afc8f3982390db4b43b39dfa4d958fdb1574417d6bed7e4f76e8da323bf39e96b85076e1b5bcf3c8d31c2bfac2493ce1bd1dd1d7aba7fdd7ae1ab5 +MISC metadata.xml 237 BLAKE2B f22c3926ba75c18fce7667217807f3710a315b12b1341622c949e7bc0056cd1cb403ea6c66d838675f3cb5dcd53d2fc4ec71425ec3f96aaffb94b70b73e99320 SHA512 ae2360aa6b1b00c67e0acea4935c02b64585b9a15e126fec9d5d99637021c542c0a495e5116205f3da287def46fa5b19cb1a7f3042c12c5f7a78d66d92fcb03f diff --git a/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch b/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch new file mode 100644 index 000000000000..310e44afd1cd --- /dev/null +++ b/dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch @@ -0,0 +1,11 @@ +--- libmodbus-3.1.4/Makefile.in ++++ libmodbus-3.1.4/Makefile.in +@@ -379,7 +379,7 @@ + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = libmodbus.pc + EXTRA_DIST = libmodbus.pc.in +-dist_doc_DATA = MIGRATION README.md ++dist_doc_DATA = MIGRATION README.md AUTHORS NEWS + SUBDIRS = src doc $(am__append_1) + all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-recursive diff --git a/dev-libs/libmodbus/libmodbus-3.1.2.ebuild b/dev-libs/libmodbus/libmodbus-3.1.2.ebuild new file mode 100644 index 000000000000..c80fe87311cb --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +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}" + dodoc AUTHORS MIGRATION NEWS README.md + use static-libs || rm "${D}"/usr/*/libmodbus.la +} diff --git a/dev-libs/libmodbus/libmodbus-3.1.4.ebuild b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild new file mode 100644 index 000000000000..03f13f3fbd1c --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 test doc" + +RDEPEND="" +DEPEND="doc? ( app-text/asciidoc + app-text/xmlto )" + +PATCHES=( "${FILESDIR}"/${P}-doc.patch ) + +src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable test tests) \ + $(use_enable static-libs static) \ + $(use_with doc documentation) +} + +src_install() { + default + + use static-libs || rm "${D}"/usr/*/libmodbus.la +} diff --git a/dev-libs/libmodbus/metadata.xml b/dev-libs/libmodbus/metadata.xml new file mode 100644 index 000000000000..a535b8852829 --- /dev/null +++ b/dev-libs/libmodbus/metadata.xml @@ -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>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> |