added v5.0.4 of owncloud
This commit is contained in:
parent
22e013a228
commit
dbecc3c123
2 changed files with 51 additions and 0 deletions
2
www-apps/owncloud/Manifest
Normal file
2
www-apps/owncloud/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
DIST owncloud-5.0.4.tar.bz2 13878837 SHA256 fa6c93631368afe5b475e3173130b60be5f4f1166cd5d6f7993d242ac448f0d4 SHA512 ac349726c3b4074913a1d8c16ac793ec47e492b5d2b8466fa29b2ab448c67625de310fdeac168207f8bfe0921d1844e7619f109a0b7f01f323a1728d18f0d180 WHIRLPOOL c1300ccfd388006fd731d66a2b0a2d58edcab4bccd1d7a5ae0001f5d113a98576588c5addf6accf9ab0d12eaa083c4c6aef7416db911a252157265f2d5bdcbd2
|
||||||
|
EBUILD owncloud-5.0.4.ebuild 1353 SHA256 5eb7137542f9c0058e690f4aa62729c4d527aa2dd10d727796a87b9b82dcf189 SHA512 8814e2f4baf53c492ce6550130febc8e670cee721140a90421d97d704f3b5ce9c22dff65e9d73df7d4cba5ddc742a4c083f86013e0d899246c858c513202ecaf WHIRLPOOL c993ef8ee56fabde11239c28565295a2b963a02ea3b5334082978d36e32e954507a9a59d7d032378e866223c021abfb7a1e4084649aaae2166768f9499267b73
|
49
www-apps/owncloud/owncloud-5.0.4.ebuild
Normal file
49
www-apps/owncloud/owncloud-5.0.4.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
# Copyright 1999-2013 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-5.0.0.ebuild,v 1.1 2013/03/14 08:57:57 voyageur Exp $
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit eutils webapp depend.php
|
||||||
|
|
||||||
|
DESCRIPTION="Web-based storage application where all your data is under your own control"
|
||||||
|
HOMEPAGE="http://owncloud.org"
|
||||||
|
SRC_URI="http://download.owncloud.org/community/${P}.tar.bz2"
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+curl mysql postgres +sqlite"
|
||||||
|
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND="|| ( >=dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite?,xmlwriter,zip]
|
||||||
|
sqlite? ( <dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite3,xmlwriter,zip] )
|
||||||
|
!sqlite? (
|
||||||
|
<dev-lang/php-5.4.9[curl?,gd,hash,json,mysql?,pdo,postgres?,simplexml,xmlwriter,zip] ) )"
|
||||||
|
need_httpd_cgi
|
||||||
|
need_php_httpd
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
webapp_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
local docs="README"
|
||||||
|
dodoc ${docs}
|
||||||
|
rm -f ${docs}
|
||||||
|
|
||||||
|
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 a new issue