From c27547e48c8404e7ed921b5c47a57405ff95b7e7 Mon Sep 17 00:00:00 2001 From: Marshall Brewer Date: Fri, 3 Jun 2016 03:06:30 +0200 Subject: net-misc/sx: renamed to sys-cluster/sx --- sys-cluster/sx/sx-2.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 sys-cluster/sx/sx-2.1.ebuild (limited to 'sys-cluster/sx/sx-2.1.ebuild') diff --git a/sys-cluster/sx/sx-2.1.ebuild b/sys-cluster/sx/sx-2.1.ebuild new file mode 100644 index 000000000000..578972b83592 --- /dev/null +++ b/sys-cluster/sx/sx-2.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="Skylable SX - a distributed object-storage software for data clusters" +HOMEPAGE="http://www.skylable.com/products/sx" +SRC_URI="http://cdn.skylable.com/source/${P}.tar.gz" +LICENSE="GPL-2 LGPL-2.1" +# If a package appears that links against another .so apart from sxclient-2.0.0.so, change the subslot accordingly. +SLOT="0/2" +KEYWORDS="~amd64 ~x86" +IUSE="+client ipv6 +server ssl" +nginx_modules_use="nginx_modules_http_fastcgi(-),nginx_modules_http_gzip(-),nginx_modules_http_proxy(-),nginx_modules_http_scgi(-),nginx_modules_http_uwsgi(-)" +DEPEND=" + dev-libs/libltdl:0 + dev-libs/yajl + net-misc/curl[idn,ipv6(-)?,ssh,ssl(-)?] + server? ( >=dev-db/sqlite-3.8.4.3:3 + dev-libs/fcgi + www-servers/nginx:mainline[http,ipv6(-)?,${nginx_modules_use},ssl(-)?] ) +" +RDEPEND="${DEPEND}" + +# The server build depends on tools only built during client build. +# The client, though, is fully functional without server components +# (for remote access, for example). +# Deactivate both only if you know you need *only* the libs. +REQUIRED_USE="server? ( client )" + +# tests make a temporary install relative to $prefix, so docdir must be relative to it as well +src_configure() { + econf --disable-sxhttpd \ + --with-system-libs \ + --docdir="\${prefix}/usr/share/doc/${PF}" \ + $(use_enable client sxclient) \ + $(use_enable server) +} + +src_install() { + emake DESTDIR="${D}" install + prune_libtool_files --all +} -- cgit v1.2.3-65-gdbad