2016-12-06 02:19:15 +00:00
|
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
|
|
|
|
inherit webapp
|
|
|
|
|
|
|
|
# Grab from http://repository.rainloop.net/v2/core.stable.json
|
|
|
|
|
|
|
|
DESCRIPTION="Simple, modern and fast web-based email client"
|
|
|
|
HOMEPAGE="http://www.rainloop.net"
|
2016-12-06 02:55:41 +00:00
|
|
|
SRC_URI="https://github.com/RainLoop/rainloop-webmail/releases/download/v${PV%}/${P}.zip"
|
2016-12-06 02:19:15 +00:00
|
|
|
LICENSE="AGPL-3"
|
|
|
|
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="dev-lang/php[curl,iconv,json,ssl,xml]
|
2017-03-25 00:54:36 +00:00
|
|
|
virtual/httpd-php"
|
2016-12-06 02:19:15 +00:00
|
|
|
|
|
|
|
S=${WORKDIR}
|
|
|
|
|
|
|
|
src_install() {
|
2017-03-25 00:54:36 +00:00
|
|
|
webapp_src_preinst
|
2016-12-06 02:19:15 +00:00
|
|
|
|
2017-03-25 00:54:36 +00:00
|
|
|
insinto "${MY_HTDOCSDIR}"
|
|
|
|
doins -r .
|
2016-12-06 02:19:15 +00:00
|
|
|
|
2017-03-25 00:54:36 +00:00
|
|
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
|
2016-12-06 02:19:15 +00:00
|
|
|
|
2017-03-25 00:54:36 +00:00
|
|
|
webapp_src_install
|
2016-12-06 02:19:15 +00:00
|
|
|
}
|