diff options
author | 2016-01-01 22:04:38 +0100 | |
---|---|---|
committer | 2016-01-01 22:04:38 +0100 | |
commit | 8b0fdb77b957b2fe934df334470dd5f8826fec73 (patch) | |
tree | 41515e764590ce95e552be31022b3cfadcc7800a | |
parent | dev-php/PEAR-HTTP_WebDAV_Client: initial ebuild (diff) | |
download | eva-8b0fdb77b957b2fe934df334470dd5f8826fec73.tar.gz eva-8b0fdb77b957b2fe934df334470dd5f8826fec73.tar.bz2 eva-8b0fdb77b957b2fe934df334470dd5f8826fec73.zip |
www-apps/pydio: initial ebuild
-rw-r--r-- | www-apps/pydio/Manifest | 1 | ||||
-rw-r--r-- | www-apps/pydio/metadata.xml | 14 | ||||
-rw-r--r-- | www-apps/pydio/pydio-6.0.7.ebuild | 41 |
3 files changed, 56 insertions, 0 deletions
diff --git a/www-apps/pydio/Manifest b/www-apps/pydio/Manifest new file mode 100644 index 0000000..f53b4e7 --- /dev/null +++ b/www-apps/pydio/Manifest @@ -0,0 +1 @@ +DIST pydio-6.0.7.tar.gz 14704755 SHA256 ebbe8bfad7188bdbc29bdf2dbbf131d025387217abafe60d44bd0ed38a745350 SHA512 2af9404c3780dc697cf128916bcb74b833f2c29700634a7454b56ec40ded8b92400ee5876e631bd45821e976d5c4f3cd76b887cd85acaf1b581a99d02025ff91 WHIRLPOOL 8fb858f646f17c98c0177c2abf6774521b8f3c0052c35f5139cd9cff5e38d34d2ed136f10575037b601a0bf50c963ae9138c0a2f0ec9f9da0b2c5ee1e31fe4a2 diff --git a/www-apps/pydio/metadata.xml b/www-apps/pydio/metadata.xml new file mode 100644 index 0000000..4e8937c --- /dev/null +++ b/www-apps/pydio/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>eva@gentoo.org</email> + <name>Gilles Dartiguelongue</name> +</maintainer> +<use> + <flag name="webdav">Enable WebDAV sharing</flag> +</use> +<upstream> + <remote-id type="github">pydio/pydio-core</remote-id> +</upstream> +</pkgmetadata> diff --git a/www-apps/pydio/pydio-6.0.7.ebuild b/www-apps/pydio/pydio-6.0.7.ebuild new file mode 100644 index 0000000..fce7f23 --- /dev/null +++ b/www-apps/pydio/pydio-6.0.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit webapp depend.php + +DESCRIPTION="File sharing platform similar to dropbox" +HOMEPAGE="https://pyd.io/" +SRC_URI="http://sourceforge.net/projects/ajaxplorer/files/${PN}/stable-channel/${PV}/${PN}-core-${PV}.tar.gz/download -> ${P}.tar.gz" +RESTRICTION="mirror" + +LICENSE="AGPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="+webdav" + +DEPEND="webdav? ( dev-php/PEAR-HTTP_WebDAV_Client )" +RDEPEND="${DEPEND}" + +need_php_httpd + +S="${WORKDIR}/${PN}-core-${PV}" + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r "${S}"/* + + find "data" -type d | while read dir ; do + webapp_serverowned "${MY_HTDOCSDIR}/${dir}" + done + + webapp_configfile "${MY_HTDOCSDIR}/base.conf.php" + webapp_configfile "${MY_HTDOCSDIR}/conf/bootstrap_"{conf,context,repositories}".php" + webapp_configfile "${MY_HTDOCSDIR}/conf/mime.types" + webapp_configfile "${MY_HTDOCSDIR}/conf/extensions.conf.php" + + webapp_src_install +} |