You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
3 years ago
|
# Copyright 1999-2021 Gentoo Authors
|
||
5 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit gnustep-2 vcs-snapshot
|
||
|
|
||
|
DESCRIPTION="A set of frameworks forming a complete Web application server environment"
|
||
|
HOMEPAGE="http://www.sogo.nu/"
|
||
|
SRC_URI="https://github.com/inverse-inc/sope/archive/SOPE-${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
|
LICENSE="LGPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
3 years ago
|
IUSE="gnutls ldap mysql postgres +ssl +xml"
|
||
5 years ago
|
|
||
|
RDEPEND="
|
||
|
sys-libs/zlib
|
||
|
ldap? ( net-nds/openldap )
|
||
|
gnutls? ( net-libs/gnutls:= )
|
||
|
!gnutls? (
|
||
3 years ago
|
dev-libs/openssl:0=
|
||
5 years ago
|
)
|
||
|
mysql? ( dev-db/mysql-connector-c:= )
|
||
|
postgres? ( dev-db/postgresql:= )
|
||
|
xml? ( dev-libs/libxml2:2 )
|
||
|
"
|
||
|
DEPEND="${RDEPEND}"
|
||
|
|
||
|
src_configure() {
|
||
|
local ssl_provider
|
||
|
if use ssl ; then
|
||
|
if use gnutls ; then
|
||
|
ssl_provider=gnutls
|
||
|
else
|
||
|
ssl_provider=ssl
|
||
|
fi
|
||
|
else
|
||
|
ssl_provider=none
|
||
|
fi
|
||
|
|
||
|
egnustep_env
|
||
|
|
||
|
# Non-standard configure script
|
||
|
./configure \
|
||
|
--disable-strip \
|
||
|
$(use_enable debug) \
|
||
|
$(use_enable ldap openldap) \
|
||
|
$(use_enable mysql) \
|
||
|
$(use_enable postgres postgresql) \
|
||
|
$(use_enable xml) \
|
||
|
--with-ssl="${ssl_provider}" \
|
||
|
--with-gnustep || die "configure failed"
|
||
|
}
|