From: Alexey Shvetsov Date: Mon, 19 Nov 2018 08:44:08 +0000 (+0300) Subject: sci-misc/tango: Initial version of tango X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=bcb18261421302ea1b2e5212ce5d3460a74320d4;p=gentoo.git sci-misc/tango: Initial version of tango Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Alexey Shvetsov --- 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 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + alexxy@gentoo.org + Alexey Shvetsov + + + 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. + + + tango-cs + + + Enable build of tango dbserver + Use dev-db/mariadb + Allow to use ZeroMQ broker via net-libs/zeromq + + 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[@]} +}