added latest ebuild for owncloud (5.0.9)

This commit is contained in:
Manuel Friedli 2013-07-18 15:48:54 +00:00
parent ce588eb774
commit 47ebf6d8c6
2 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST owncloud-5.0.9.tar.bz2 14406909 SHA256 67949a29644468a7cb51c83ffd620bb2093ba02420fb789135161758ccfbf1ff SHA512 5bfe1d835c28e609dd9cb975223de7bc46e94f61bcd860834cb8a1b8abb2807e9992384765a5d3e7cdd3eb5a6139bc1cd089ca4e88399e8e19a844a7baa49e5f WHIRLPOOL 72607a9b8bedfae9e00c1a2554e34164f29c2ab51e471fe0e7f8462eb66cf5c15099e95b9c186e2fb59752575082c8410ace270412543c97cd9501d01cdc269d
EBUILD owncloud-5.0.9.ebuild 1406 SHA256 470199cd5787ec14bef129c04d1eff5bf214d36765d8f64769e0ea6d6fe3fbbc SHA512 0f1ec6dd7bc3c9b79bd585dafafb5cc2322726b300f044422a339b8a9a111d054ae98ab3239cbc4984cfe5d6a23eeecd085955645d43cc1141ffb98837dfec75 WHIRLPOOL 8215d107053246cfafc59d6724c0bec377da8913a5e71ca6dc84015b0413855ee1bdc6dc602c9280cddcae1999fe43606ab391c56e5c645124ba5a6650a74478

View file

@ -0,0 +1,53 @@
# 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.7.ebuild,v 1.2 2013/06/17 18:28:08 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?,filter,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite?,xmlwriter,zip]
sqlite? ( <dev-lang/php-5.4.9[curl?,filter,gd,hash,json,mysql?,pdo,postgres?,simplexml,sqlite3,xmlwriter,zip] )
!sqlite? (
<dev-lang/php-5.4.9[curl?,filter,gd,hash,json,mysql?,pdo,postgres?,simplexml,xmlwriter,zip] ) )"
need_httpd_cgi
need_php_httpd
S=${WORKDIR}/${PN}
pkg_setup() {
webapp_pkg_setup
}
src_prepare() {
epatch_user
}
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
}