mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
gnustep-libs/sope: add 5.12.7
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST sope-5.12.4.tar.gz 2228247 BLAKE2B 505b0f923d7a8860d4d23698fc7839508a345f6fddb04388cbe8c15919492be432ae9fa939b988053dc666c1cec4234ad46f4b81e8a5112043be8876895c5029 SHA512 822288de743eb0de2d61f7c47f053689131db501938466855d4d1642784cedc3d30759c0e37f290d41939d8925ae9dd311d9ab3907e025f30545af0765c36e49
|
||||
DIST sope-5.12.7.tar.gz 2228334 BLAKE2B 67ae6464de6d95fbb321ca9eb613bde0f40b2e88138a69d22f566bf681a2c0660a3be3000a757df95820df3c5d84745d3f6b291c2bd0fb4fc23cab5c5d90f429 SHA512 23d284eca9c5f559b3b9bdfe91a4800b76a1115027650c509d2765114d29cb89079792f478254a80f8d7d4656c382ef31008ebb05bc5cfa972b4f709155fde6c
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnustep-2
|
||||
|
||||
DESCRIPTION="A set of frameworks forming a complete Web application server environment"
|
||||
HOMEPAGE="https://www.sogo.nu/"
|
||||
SRC_URI="https://github.com/inverse-inc/sope/archive/SOPE-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PN^^}-${PV}"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls ldap mysql postgres +ssl +xml"
|
||||
|
||||
RDEPEND="
|
||||
virtual/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() {
|
||||
egnustep_env
|
||||
|
||||
local myconf=(
|
||||
--prefix="${EPREFIX}"
|
||||
--disable-strip
|
||||
$(use_enable debug)
|
||||
$(use_enable ldap openldap)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres postgresql)
|
||||
$(use_enable xml)
|
||||
--with-gnustep
|
||||
)
|
||||
|
||||
if use ssl ; then
|
||||
if use gnutls ; then
|
||||
myconf+=( --with-ssl=gnutls )
|
||||
else
|
||||
myconf+=( --with-ssl=ssl )
|
||||
fi
|
||||
else
|
||||
myconf+=( --with-ssl=none )
|
||||
fi
|
||||
|
||||
# Non-standard configure script
|
||||
./configure "${myconf[@]}" || die "configure failed"
|
||||
}
|
||||
Reference in New Issue
Block a user