Browse Source

Modbus zabbix module

Mike 2 years ago
parent
commit
4ece44f091

+ 1 - 0
net-analyzer/libzbxmodbus/Manifest

@@ -0,0 +1 @@
+EBUILD libzbxmodbus-9999.ebuild 565 SHA256 a007f7d476a54b7c5ac9254cae28b2aa82ce1c1a924bd06e61eb919aaf623bf1 SHA512 0421d7365820ccfdc0db3c551400655e2fb7fbda21dfb27168730faa176285e4bfe06ae847b00016a26eab768a3bcaaaa1ffdfa2eb85c8f5d7cd40afadab633b WHIRLPOOL eda0c570db7475cc98a0b40358ab16c04954f9d9c5944a31d9be8ddaacbc4bff3b8769cc61389e5eb84e726133dd79bdd39fa71c769c422b7d45aa99f8dc25d0

+ 30 - 0
net-analyzer/libzbxmodbus/libzbxmodbus-9999.ebuild

@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils git-r3
+
+DESCRIPTION="Zabbix module zbxmodbus"
+HOMEPAGE="https://github.com/v-zhuravlev/libzbxmodbus"
+EGIT_REPO_URI="https://github.com/v-zhuravlev/libzbxmodbus.git"
+EGIT_BRANCH="master"
+KEYWORDS=""
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+	>=dev-libs/libmodbus-3.1.2"
+DEPEND="
+	${RDEPEND}"
+
+src_prepare() {
+    sh autogen.sh
+}
+
+src_configure() {
+    ./configure --enable-zabbix-${ZABBIX_VERSION} --libdir=/usr/lib/zabbix
+}