diff options
Diffstat (limited to 'sys-cluster/galera/galera-25.3.5.ebuild')
-rw-r--r-- | sys-cluster/galera/galera-25.3.5.ebuild | 87 |
1 files changed, 0 insertions, 87 deletions
diff --git a/sys-cluster/galera/galera-25.3.5.ebuild b/sys-cluster/galera/galera-25.3.5.ebuild deleted file mode 100644 index 5a3472d3563f..000000000000 --- a/sys-cluster/galera/galera-25.3.5.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -MY_P="${PN}-${PV}-src" - -inherit scons-utils multilib toolchain-funcs base versionator eutils user flag-o-matic -DESCRIPTION="Synchronous multi-master replication engine that provides its service through wsrep API" -HOMEPAGE="http://www.codership.org/" -SRC_URI="https://launchpad.net/${PN}/$(get_version_component_range 2).x/${PV}/+download/${MY_P}.tar.gz" -LICENSE="GPL-2 BSD" - -SLOT="0" - -KEYWORDS="~amd64 ~x86" -IUSE="garbd ssl test" - -CDEPEND=" - ssl? ( dev-libs/openssl:0= ) - >=dev-libs/boost-1.41 - " -DEPEND="${DEPEND} - ${CDEPEND} - dev-libs/check - >=sys-devel/gcc-4.4 - >=dev-cpp/asio-1.4.8[ssl?] - " -#Run time only -RDEPEND="${CDEPEND} - garbd? ( || ( - net-analyzer/netcat - net-analyzer/netcat6 - net-analyzer/gnu-netcat - net-analyzer/openbsd-netcat - ) )" - -S="${WORKDIR}/${MY_P}" - -pkg_preinst() { - if use garbd ; then - enewgroup garbd - enewuser garbd -1 -1 -1 garbd - fi -} - -src_prepare() { - # Remove bundled dev-cpp/asio - rm -r "${S}/asio" || die - - # Respect {C,LD}FLAGS. - epatch "${FILESDIR}/respect-flags.patch" - - #Remove optional garbd daemon - if ! use garbd ; then - rm -r "${S}/garb" || die - fi - - epatch_user -} - -src_configure() { - tc-export CC CXX - # strict_build_flags=0 disables -Werror, -pedantic, -Weffc++, - # and -Wold-style-cast - myesconsargs=( - $(use_scons ssl ssl 1 0) - $(use_scons test tests 1 0) - strict_build_flags=0 - ) -} - -src_compile() { - escons --warn=no-missing-sconscript -} - -src_install() { - dodoc scripts/packages/README scripts/packages/README-MySQL - if use garbd ; then - dobin garb/garbd - newconfd "${FILESDIR}/garb.cnf" garbd - newinitd "${FILESDIR}/garb.sh" garbd - fi - exeinto /usr/$(get_libdir)/${PN} - doexe libgalera_smm.so -} |