summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-12-08 17:27:51 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2010-12-08 17:27:51 +0000
commit1f39ca8d76651358c1e4396631d01cc5b9e9c474 (patch)
tree8caecd448a98c4f62d243afe913b21bb05359586 /www-apps/owncloud
parentNeeds gnome-panel with bonobo support. Remove old. (diff)
downloadgentoo-2-1f39ca8d76651358c1e4396631d01cc5b9e9c474.tar.gz
gentoo-2-1f39ca8d76651358c1e4396631d01cc5b9e9c474.tar.bz2
gentoo-2-1f39ca8d76651358c1e4396631d01cc5b9e9c474.zip
[www-apps/owncloud] Initial import per bug #347702
(Portage version: 2.2.0_alpha7_p1/cvs/Linux x86_64)
Diffstat (limited to 'www-apps/owncloud')
-rw-r--r--www-apps/owncloud/ChangeLog10
-rw-r--r--www-apps/owncloud/metadata.xml9
-rw-r--r--www-apps/owncloud/owncloud-1.1.ebuild43
3 files changed, 62 insertions, 0 deletions
diff --git a/www-apps/owncloud/ChangeLog b/www-apps/owncloud/ChangeLog
new file mode 100644
index 000000000000..70137c73fba4
--- /dev/null
+++ b/www-apps/owncloud/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for www-apps/owncloud
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/ChangeLog,v 1.1 2010/12/08 17:27:51 alexxy Exp $
+
+*owncloud-1.1 (08 Dec 2010)
+
+ 08 Dec 2010; Alexey Shvetsov <alexxy@gentoo.org> +owncloud-1.1.ebuild,
+ +metadata.xml:
+ Initial import per bug #347702
+
diff --git a/www-apps/owncloud/metadata.xml b/www-apps/owncloud/metadata.xml
new file mode 100644
index 000000000000..d4665e9e1a54
--- /dev/null
+++ b/www-apps/owncloud/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>alexxy@gentoo.org</email>
+ <name>Alexey Shvetsov</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/owncloud/owncloud-1.1.ebuild b/www-apps/owncloud/owncloud-1.1.ebuild
new file mode 100644
index 000000000000..b3bd4b6cad34
--- /dev/null
+++ b/www-apps/owncloud/owncloud-1.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/owncloud/owncloud-1.1.ebuild,v 1.1 2010/12/08 17:27:51 alexxy Exp $
+
+inherit webapp eutils depend.php
+
+MY_PV=${PV:0:3}.0
+
+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="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}/${P/_/-}"
+
+pkg_setup() {
+ flags="json xmlwriter zip"
+ webapp_pkg_setup
+ has_php
+ require_php_with_use ${flags}
+}
+
+src_install() {
+ cd owncloud
+ webapp_src_preinst
+
+ local docs="README docs/*"
+ dodoc ${docs}
+ rm -f ${docs}
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+ dodir "${MY_HTDOCSDIR}"/data
+ webapp_serverowned "${MY_HTDOCSDIR}"/data
+ webapp_serverowned "${MY_HTDOCSDIR}"/config
+
+ webapp_src_install
+}