1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Web-based storage application where all your data is under your own control"
10 HOMEPAGE="http://owncloud.org"
11 SRC_URI="http://download.owncloud.org/community/${P}.tar.bz2 -> ${PF}.tar.bz2"
14 KEYWORDS="~amd64 ~arm ~x86"
15 IUSE="+curl mysql postgres +sqlite"
16 REQUIRED_USE="|| ( mysql postgres sqlite )"
19 RDEPEND="dev-lang/php[curl?,filter,gd,hash,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,xmlwriter,zip]
39 insinto "${MY_HTDOCSDIR}"
41 dodir "${MY_HTDOCSDIR}"/data
43 webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
44 webapp_serverowned -R "${MY_HTDOCSDIR}"/data
45 webapp_serverowned -R "${MY_HTDOCSDIR}"/config
46 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess