summaryrefslogtreecommitdiff
blob: 2206d91c04411c8ebf2076c538dd27d7bcf38651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5
inherit gnustep-2

DESCRIPTION="An extensive set of frameworks which form a complete Web application server environment"
HOMEPAGE="http://www.sogo.nu/"
SRC_URI="http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-${PV}.tar.gz"

LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="mysql postgres sqlite"

DEPEND="dev-libs/libxml2
	dev-libs/openssl
	net-nds/openldap
	mysql? ( virtual/mysql )
	postgres? ( dev-db/postgresql )
	sqlite? ( dev-db/sqlite:3 )"
RDEPEND="${DEPEND}"

S=${WORKDIR}/SOPE

src_configure() {
	# Non-standard configure script
	./configure \
		$(use_enable debug) \
		$(use_enable debug strip) \
		--with-gnustep || die "configure failed"
}