35 lines
719 B
Bash
35 lines
719 B
Bash
|
# 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"
|
||
|
SRC_URI="https://github.com/RainLoop/rainloop-webmail/releases/download/v${PV%}/${P}.zip"
|
||
|
LICENSE="AGPL-3"
|
||
|
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND=""
|
||
|
RDEPEND="dev-lang/php[curl,iconv,json,ssl,xml]
|
||
|
virtual/httpd-php"
|
||
|
|
||
|
S=${WORKDIR}
|
||
|
|
||
|
src_install() {
|
||
|
webapp_src_preinst
|
||
|
|
||
|
insinto "${MY_HTDOCSDIR}"
|
||
|
doins -r .
|
||
|
|
||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
|
||
|
|
||
|
webapp_src_install
|
||
|
}
|