diff options
author | Michael Weber <xmw@gentoo.org> | 2017-01-25 16:15:42 +0100 |
---|---|---|
committer | Michael Weber <xmw@gentoo.org> | 2017-01-25 16:16:12 +0100 |
commit | 4bb4d9d31c2f2171025d05418d258760a3b892a1 (patch) | |
tree | 3a97a7f084d8ed0c45f2943671c1928387a457ae /dev-libs | |
parent | dev-libs/libmodbus: Drop old. (diff) | |
download | gentoo-4bb4d9d31c2f2171025d05418d258760a3b892a1.tar.gz gentoo-4bb4d9d31c2f2171025d05418d258760a3b892a1.tar.bz2 gentoo-4bb4d9d31c2f2171025d05418d258760a3b892a1.zip |
dev-libs/libmodbus: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libmodbus/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libmodbus/files/libmodbus-3.1.4-doc.patch | 11 | ||||
-rw-r--r-- | dev-libs/libmodbus/libmodbus-3.1.4.ebuild | 34 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest index 939b742e6cea..18f7fadc7b4f 100644 --- a/dev-libs/libmodbus/Manifest +++ b/dev-libs/libmodbus/Manifest @@ -1 +1,2 @@ DIST libmodbus-3.1.2.tar.gz 428224 SHA256 661e14f9dc904f3f1b034464ddaa5fd4b8472f8f5d1ea10a1148af85591b7ee9 SHA512 a9916bcb861f39a73ea952cc3ab58af2949a3dfbf0e964ce5327c2443b0b9d812f6b740b90aa062c106477d2d6a3badfba6b0cee0455e48484cbdb07bcf82e82 WHIRLPOOL 08bf516fd8c6131211952e2c3145b406d1f685021ae317337f5354b7d83b0143dba201e4986317fa3d2a42fb013b89b7ea4f4b66497ce3e5dcdd088ac720a938 +DIST libmodbus-3.1.4.tar.gz 471576 SHA256 c8c862b0e9a7ba699a49bc98f62bdffdfafd53a5716c0e162696b4bf108d3637 SHA512 63f73894b27704f5e5b3ca0a364cc366c5b5d24903bb24384155890cf06c0f8e5c707a435a38129402ff6628ef3d611dd0db82f840b79cf1d205ebed2ac5681c WHIRLPOOL 9d125733601e6fb01fbd3ad7a6af5c72e7f91fcb8e2890aa7455e44cfbceaf615c700f36ccf3a0c2f28395117ff7adfcb8cbef4375c1ba9739646aed77e3dbf5 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.4.ebuild b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild new file mode 100644 index 000000000000..827896a57224 --- /dev/null +++ b/dev-libs/libmodbus/libmodbus-3.1.4.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |