summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2018-11-19 11:44:08 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2018-11-19 11:44:34 +0300
commitbcb18261421302ea1b2e5212ce5d3460a74320d4 (patch)
tree668ceacec65ee3988ffb21b034d105afa8ba0592 /sci-misc/tango
parentnet-misc/omniORB: Version bump (diff)
downloadgentoo-bcb18261421302ea1b2e5212ce5d3460a74320d4.tar.gz
gentoo-bcb18261421302ea1b2e5212ce5d3460a74320d4.tar.bz2
gentoo-bcb18261421302ea1b2e5212ce5d3460a74320d4.zip
sci-misc/tango: Initial version of tango
Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
Diffstat (limited to 'sci-misc/tango')
-rw-r--r--sci-misc/tango/Manifest1
-rw-r--r--sci-misc/tango/metadata.xml23
-rw-r--r--sci-misc/tango/tango-9.2.5a.ebuild44
3 files changed, 68 insertions, 0 deletions
diff --git a/sci-misc/tango/Manifest b/sci-misc/tango/Manifest
new file mode 100644
index 000000000000..8641be212161
--- /dev/null
+++ b/sci-misc/tango/Manifest
@@ -0,0 +1 @@
+DIST tango-9.2.5a.tar.gz 65888551 BLAKE2B 73ac78c4cce5f98bff108ae01d669d7654f8d11d1fcc5621b4268511c713f5ed6087c268a6d4c620e4aa41692ecd96f9676a48038c036cb0896c2acd007a3e3a SHA512 f372ea8b261d345fac5dbd198b1d5f28ff346796ba91191e752cea5b9fb9155b43bfada89032c29a51fa9b4f5e3a4f16d1b1ca9e73530dc7f60eb10103531d3e
diff --git a/sci-misc/tango/metadata.xml b/sci-misc/tango/metadata.xml
new file mode 100644
index 000000000000..5e6d8ba6b6ac
--- /dev/null
+++ b/sci-misc/tango/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+ <longdescription lang="en">
+ Tango is an Open Source solution for SCADA and DCS. Open Source means you get all the source code under an Open Source free licence (LGPL and GPL). Supervisory Control and Data Acquisition (SCADA) systems are typically industrial type systems using standard hardware. Distributed Control Systems (DCS) are more flexible control systems used in more complex environments.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">tango-cs</remote-id>
+ </upstream>
+ <use>
+ <flag name="dbserver">Enable build of tango dbserver</flag>
+ <flag name="mariadb">Use <pkg>dev-db/mariadb</pkg></flag>
+ <flag name="zeromq">Allow to use ZeroMQ broker via <pkg>net-libs/zeromq</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/sci-misc/tango/tango-9.2.5a.ebuild b/sci-misc/tango/tango-9.2.5a.ebuild
new file mode 100644
index 000000000000..2b88352a4505
--- /dev/null
+++ b/sci-misc/tango/tango-9.2.5a.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Tango is an Open Source solution for SCADA and DCS"
+HOMEPAGE="http://www.tango-controls.org/"
+SRC_URI="mirror://sourceforge/tango-cs/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+dbserver java +mariadb +zeromq"
+
+DEPEND="
+ net-misc/omniORB
+ mariadb? ( dev-db/mariadb-connector-c )
+ !mariadb? ( dev-db/mysql-connector-c )
+ dbserver? (
+ mariadb? ( dev-db/mariadb[server] )
+ !mariadb? ( dev-db/mysql[server] )
+ virtual/mysql[server] )
+ java? ( virtual/jdk:* )
+ zeromq? ( net-libs/zeromq )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}"
+
+src_configure() {
+ local MYCONF
+ if use mariadb; then
+ MYCONF+=(
+ $(use_enable mariadb)
+ --with-mariadbclient-include="${EPREFIX}/usr/include/mysql"
+ )
+ fi
+
+ econf \
+ --with-omni="${EPREFIX}/usr" \
+ $(use_enable zeromq zmq) \
+ $(use_enable java) \
+ $(use_enable dbserver) \
+ ${MYCONF[@]}
+}