summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2016-03-03 02:23:30 +0100
committerMichael Weber <xmw@gentoo.org>2016-03-11 15:53:28 +0100
commite220720d7e25a80a2a2be9d2cec265ef4523e2fb (patch)
treeb8501b411b476bcfce3ff5f5b05349de83691b3a /dev-libs/libmodbus
parentdev-python/pyClamd: Version bump. (diff)
downloadgentoo-e220720d7e25a80a2a2be9d2cec265ef4523e2fb.tar.gz
gentoo-e220720d7e25a80a2a2be9d2cec265ef4523e2fb.tar.bz2
gentoo-e220720d7e25a80a2a2be9d2cec265ef4523e2fb.zip
dev-libs/libmodbus: Version bump.
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-libs/libmodbus')
-rw-r--r--dev-libs/libmodbus/Manifest1
-rw-r--r--dev-libs/libmodbus/libmodbus-3.1.2.ebuild26
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/libmodbus/Manifest b/dev-libs/libmodbus/Manifest
index 6e61f48e60ce..e015f7db68e6 100644
--- a/dev-libs/libmodbus/Manifest
+++ b/dev-libs/libmodbus/Manifest
@@ -1,2 +1,3 @@
DIST libmodbus-3.0.6.tar.gz 504757 SHA256 046d63f10f755e2160dc56ef681e5f5ad3862a57c1955fd82e0ce036b69471b6 SHA512 47a271b3677822701bac924f3e3245e3db72dbadfe1d860ae5d8171b32d2dbb1c761a351d055eafc661a15bc13cb60b793b2b0f9654bbafcf01b457d51991dca WHIRLPOOL f586f4e98083d9eccda7bc49dfda2ff24b167e50fb7cbf9a515066cef179b8a43190daecbf2de0871d09d443ff5d1ec871a77590b8d6f0d992354912a80d5215
DIST libmodbus-3.1.1.tar.gz 595100 SHA256 76d93aff749d6029f81dcf1fb3fd6abe10c9b48d376f3a03a4f41c5197c95c99 SHA512 0e7b26137b9cdf13decb39a3662767e9309ca4937010a36baba05adb92b7322a85f07557367b80e7242b2cce714007d0e9e6701e127f15f866dae3861e180012 WHIRLPOOL 82ade12450aebad66b0ddd9adf73a1f9f91547e5d7bde85346867ff6a0b991ed532b8b10623e7b79d785092a07b9d34a583114ec573ef7109ec057c714dd4adb
+DIST libmodbus-3.1.2.tar.gz 428224 SHA256 661e14f9dc904f3f1b034464ddaa5fd4b8472f8f5d1ea10a1148af85591b7ee9 SHA512 a9916bcb861f39a73ea952cc3ab58af2949a3dfbf0e964ce5327c2443b0b9d812f6b740b90aa062c106477d2d6a3badfba6b0cee0455e48484cbdb07bcf82e82 WHIRLPOOL 08bf516fd8c6131211952e2c3145b406d1f685021ae317337f5354b7d83b0143dba201e4986317fa3d2a42fb013b89b7ea4f4b66497ce3e5dcdd088ac720a938
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..9fa2a9dd8a51
--- /dev/null
+++ b/dev-libs/libmodbus/libmodbus-3.1.2.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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
+}