Changeset - a4dc52f372eb
[Not reviewed]
0 0 2
Chel Sea (chain) - 12 years ago 2013-07-02 13:01:30
chain@rpgfiction.net
add ebuild for owncloud:3.0
2 files changed with 49 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www-apps/owncloud/Manifest
Show inline comments
 
new file 100644
 
DIST owncloud-3.0.3.tar.bz2 2608784 SHA256 77494f92467515c71a92b10232f699ba2a864102e31a197fee5f6caf2ceeab3f SHA512 a74132209e4325800d0ac08a329e8f572dc00cf7f38ee1a3d7b1e6a62de8cf677b5a8e71468513794d8d081e9e46603b36ed2dea7d5ce40ff41a7c3e3dcdc721 WHIRLPOOL 951951c89109a4de09b62b12bcd26a6f421d522564e44c1c294cf9fe184cee77e4c074bafde4ef432cf3927655680ff44b37f448210c57e215d03feb695182ea
 
EBUILD owncloud-3.0.3.ebuild 1090 SHA256 e2db1850023df4487e91b40100a8e52fb5cd2e180824763291e862df9f084c9d SHA512 2891ec90a2b5c62c40fe5ca1d45f50f75086eba86c9247442c30be08bf7df5d3a55f16d147146b420ad134f47aea6a43b386bae3349e4122abbd8d9c07c1a81c WHIRLPOOL ced01a06240c8b1911b0f0b833e7a51a56d539dce9bd1246fdc9fb2c8fc09373b1588ee61d1cca6115d5f69fad02794f9bf9ed73e539af494a0b9822d9c92751
www-apps/owncloud/owncloud-3.0.3.ebuild
Show inline comments
 
new file 100644
 
# Copyright 1999-2012 Gentoo Foundation
 
# Distributed under the terms of the GNU General Public License v2
 
# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-3.0.3.ebuild,v 1.1 2012/05/11 09:18:09 voyageur Exp $
 

	
 
EAPI=4
 

	
 
inherit webapp depend.php
 

	
 
DESCRIPTION="Web-based storage application where all your data is under your own control"
 
HOMEPAGE="http://owncloud.org"
 
SRC_URI="http://owncloud.org/releases/${P}.tar.bz2"
 
LICENSE="AGPL-3"
 

	
 
KEYWORDS="~amd64 ~x86"
 
IUSE="+curl mysql postgres sqlite3"
 
REQUIRED_USE="|| ( mysql postgres sqlite3 )"
 

	
 
DEPEND=""
 
RDEPEND="dev-lang/php[curl?,gd,json,mysql?,postgres?,sqlite3?,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 "${MY_HTDOCSDIR}"/apps
 
	webapp_serverowned "${MY_HTDOCSDIR}"/data
 
	webapp_serverowned "${MY_HTDOCSDIR}"/config
 
	webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
 

	
 
	webapp_src_install
 
}
0 comments (0 inline, 0 general)