/[gentoo-x86]/www-apps/owncloud/owncloud-4.0.6.ebuild
Gentoo

Contents of /www-apps/owncloud/owncloud-4.0.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Aug 21 08:19:41 2012 UTC (8 months, 3 weeks ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump, bug and security fixes. Bug #431574

(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-4.0.6.ebuild,v 1.1 2012/08/14 08:59:28 voyageur Exp $
4
5 EAPI=4
6
7 inherit webapp depend.php
8
9 DESCRIPTION="Web-based storage application where all your data is under your own control"
10 HOMEPAGE="http://owncloud.org"
11 SRC_URI="http://owncloud.org/releases/${P}.tar.bz2"
12 LICENSE="AGPL-3"
13
14 KEYWORDS="~amd64 ~x86"
15 IUSE="+curl mysql postgres +sqlite3"
16 REQUIRED_USE="|| ( mysql postgres sqlite3 )"
17
18 DEPEND=""
19 RDEPEND="dev-lang/php[curl?,gd,json,mysql?,pdo,postgres?,sqlite3?,xmlwriter,zip]"
20
21 need_httpd_cgi
22 need_php_httpd
23
24 S=${WORKDIR}/${PN}
25
26 pkg_setup() {
27 webapp_pkg_setup
28 }
29
30 src_install() {
31 webapp_src_preinst
32
33 local docs="README"
34 dodoc ${docs}
35 rm -f ${docs}
36
37 insinto "${MY_HTDOCSDIR}"
38 doins -r .
39 dodir "${MY_HTDOCSDIR}"/data
40
41 webapp_serverowned "${MY_HTDOCSDIR}"/apps
42 webapp_serverowned "${MY_HTDOCSDIR}"/data
43 webapp_serverowned "${MY_HTDOCSDIR}"/config
44 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
45
46 webapp_src_install
47 }

  ViewVC Help
Powered by ViewVC 1.1.13