summaryrefslogtreecommitdiff
path: root/gnustep-libs/sope
diff options
context:
space:
mode:
Diffstat (limited to 'gnustep-libs/sope')
-rw-r--r--gnustep-libs/sope/Manifest2
-rw-r--r--gnustep-libs/sope/sope-5.2.0.ebuild54
2 files changed, 56 insertions, 0 deletions
diff --git a/gnustep-libs/sope/Manifest b/gnustep-libs/sope/Manifest
index 22cc485b0c85..9859df4c8c24 100644
--- a/gnustep-libs/sope/Manifest
+++ b/gnustep-libs/sope/Manifest
@@ -1,3 +1,5 @@
DIST sope-5.1.1.tar.gz 2217045 BLAKE2B 0c4e3c0740c46d2da5cf5ea16e63ab01c930ab9a45dfec617d0a2ff05032f87d909e4471144031922f8635f22aa9bebc313a32eb7afa23341b9a70f63ba93b9e SHA512 17cbf131e6e0d25e296543eea1f6514c6ac0c40db7cd446abbe79c927211d17a31e3f46bdaaad5d6d86f8b52c701544004d645c2d827ce471db5a68750cc0525
+DIST sope-5.2.0.tar.gz 2217669 BLAKE2B ffa3bead59e5481f80e5064b00ad4cb6355e3377cf022928dad7dd5d3912bc2368a6f2fe04bf99062db9905dca0411b7f7be7a01df1af865cbb18653af504ee4 SHA512 06f887ac4e5a80227f52aa0694e385f8b22790b22adc913b6f571abcf35111cdbdaea96add70408dbce3c74b0671c1c73cc23fadcf6db41aa8db06951284d890
EBUILD sope-5.1.1.ebuild 1160 BLAKE2B 22962932728589f4a267ad41024a5561ff79e4d911c9d91b723a2b509b6da4157a984166d3917219413b943cec5322a488022d1bc72820c6b192d4b363c69415 SHA512 af0c129b59a5fd293b495bde847883ca1653ba1db7ee1b4c3af532ecae028e26be5af943b15bcb58168c37e46ebb5016b30ae5beb01c5a0e71e2301b8b9ffb70
+EBUILD sope-5.2.0.ebuild 1160 BLAKE2B 22962932728589f4a267ad41024a5561ff79e4d911c9d91b723a2b509b6da4157a984166d3917219413b943cec5322a488022d1bc72820c6b192d4b363c69415 SHA512 af0c129b59a5fd293b495bde847883ca1653ba1db7ee1b4c3af532ecae028e26be5af943b15bcb58168c37e46ebb5016b30ae5beb01c5a0e71e2301b8b9ffb70
MISC metadata.xml 338 BLAKE2B 778923ce9f2ef340d1f94591335d22e66ded0142a5bb7df161623cc91500b6007075be983ea922332fa4ee589df24f19af02ffe0dbf0f210e19c9b97fa606ab1 SHA512 a7c98f2d5afa3daa9258b11fd90b3d68c44d523594736a4374df888ad2180147c6bdcf53d8195f69c6b1f2c05ba69d7da266af7f7d18d0e155580ab606f4524c
diff --git a/gnustep-libs/sope/sope-5.2.0.ebuild b/gnustep-libs/sope/sope-5.2.0.ebuild
new file mode 100644
index 000000000000..7feec1b83046
--- /dev/null
+++ b/gnustep-libs/sope/sope-5.2.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2021 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"
+}