diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-12-24 14:11:38 +0000 |
commit | de49812990871e1705b64051c35161d5e6400269 (patch) | |
tree | 5e1e8fcb0ff4579dbd22a1bfee28a6b97dc8aaeb /sci-misc/tango/tango-9.2.5a.ebuild | |
parent | 536c3711867ec947c1738f2c4b96f22e4863322d (diff) |
gentoo resync : 24.12.2018
Diffstat (limited to 'sci-misc/tango/tango-9.2.5a.ebuild')
-rw-r--r-- | sci-misc/tango/tango-9.2.5a.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
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[@]} +} |