Add =www-apps/nextcloud-16.0.2
This commit is contained in:
parent
c67e329d40
commit
25c1f0eadb
|
@ -0,0 +1,2 @@
|
||||||
|
DIST nextcloud-16.0.2.tar.bz2 61600732 BLAKE2B 285336eeb59af53ecffb48a63ecccc85b96774e7c1ccc7ef45e5bacd0f5eddc90bca1af2b0dbd107633b08e1d3c70cede6e86215e1906a36f863d8d92b91b636 SHA512 fb6ef1f6152db8d27e7158d2d87390c5cc845ba75be068466dffa1cbd0454e405342702085a6a034fbd301367a706f24036cf6026107330a3a4b8482d9af11b8
|
||||||
|
EBUILD nextcloud-16.0.2.ebuild 1017 BLAKE2B c4484d59b07f818dfff314fa4b83746685595b763bfb8f2bba98aa5ae58ac483e5951730243f78611a5dcef59cd1d5c28904720eea3ae323fb16d0d0a1618ce1 SHA512 5c21ac8e1a23fdaec145f20a9d73e334b50125bcaac7a9dc2953c4211c6a241903e921f74483bd103d847a718ddbdbcb3562428f9e43c757e8072ca9617d6ac2
|
|
@ -0,0 +1,41 @@
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit eutils webapp
|
||||||
|
|
||||||
|
DESCRIPTION="Personal cloud that runs on your own server"
|
||||||
|
HOMEPAGE="http://nextcloud.com"
|
||||||
|
SRC_URI="http://download.nextcloud.com/server/releases/${P}.tar.bz2"
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="+curl +imagemagick mysql postgres +sqlite"
|
||||||
|
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="dev-lang/php[curl?,filter,gd,hash,intl,json,mysql?,pdo,posix,postgres?,session,simplexml,sqlite?,truetype,xmlreader,xmlwriter,zip]
|
||||||
|
imagemagick? ( dev-php/pecl-imagick )
|
||||||
|
virtual/httpd-php"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
webapp_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
insinto "${MY_HTDOCSDIR}"
|
||||||
|
doins -r .
|
||||||
|
dodir "${MY_HTDOCSDIR}"/data
|
||||||
|
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/apps
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/data
|
||||||
|
webapp_serverowned -R "${MY_HTDOCSDIR}"/config
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
|
||||||
|
|
||||||
|
webapp_src_install
|
||||||
|
}
|
Loading…
Reference in New Issue