summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-03-23 00:48:43 +0000
committerSam James <sam@gentoo.org>2022-03-23 00:48:43 +0000
commitc49de9c1104cdda82a11571520b9f00630490bd9 (patch)
tree41c246a9747a01778e17374ff8af6ff92b05f62e /gnustep-libs/sope/sope-5.2.0-r1.ebuild
parentdev-libs/apr-util: add subslot dep on OpenLDAP (diff)
downloadgentoo-c49de9c1104cdda82a11571520b9f00630490bd9.tar.gz
gentoo-c49de9c1104cdda82a11571520b9f00630490bd9.tar.bz2
gentoo-c49de9c1104cdda82a11571520b9f00630490bd9.zip
gnustep-libs/sope: add subslot dep on OpenLDAP
New OpenLDAP breaks ABI (changes SONAME) Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'gnustep-libs/sope/sope-5.2.0-r1.ebuild')
-rw-r--r--gnustep-libs/sope/sope-5.2.0-r1.ebuild54
1 files changed, 54 insertions, 0 deletions
diff --git a/gnustep-libs/sope/sope-5.2.0-r1.ebuild b/gnustep-libs/sope/sope-5.2.0-r1.ebuild
new file mode 100644
index 000000000000..08cd6033c79b
--- /dev/null
+++ b/gnustep-libs/sope/sope-5.2.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# 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"
+IUSE="gnutls ldap mysql postgres +ssl +xml"
+
+RDEPEND="
+ sys-libs/zlib
+ ldap? ( net-nds/openldap:= )
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ dev-libs/openssl:0=
+ )
+ 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"
+}