1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit gnustep-2 vcs-snapshot
8 DESCRIPTION="A set of frameworks forming a complete Web application server environment"
9 HOMEPAGE="http://www.sogo.nu/"
10 SRC_URI="https://github.com/inverse-inc/sope/archive/SOPE-${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="gnutls ldap libressl mysql postgres +ssl +xml"
19 ldap? ( net-nds/openldap )
20 gnutls? ( net-libs/gnutls:= )
22 !libressl? ( dev-libs/openssl:0= )
23 libressl? ( dev-libs/libressl:= )
25 mysql? ( dev-db/mysql-connector-c:= )
26 postgres? ( dev-db/postgresql:= )
27 xml? ( dev-libs/libxml2:2 )
32 if use ssl && use gnutls && use libressl ; then
33 ewarn "You have enabled both gnutls and libressl, but only"
34 ewarn "one provider can be active. Using gnutls!"
52 # Non-standard configure script
56 $(use_enable ldap openldap) \
58 $(use_enable postgres postgresql) \
60 --with-ssl="${ssl_provider}" \
61 --with-gnustep || die "configure failed"