Upgrade www-apps/ocusagechart to 3.4 for OC8 support
[portage-overlay.git] / www-apps / owncloud-apps-ocusagecharts / owncloud-apps-ocusagecharts-3.4.ebuild
1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 inherit eutils
8
9 DESCRIPTION="Gives the ability to display various statistics about users."
10 HOMEPAGE="http://apps.owncloud.com/content/show.php/Usage+Charts+(+owncloud+7+)?content=166746"
11
12 LICENSE="MIT"
13 SLOT="0"
14 IUSE=""
15 SRC_URI="http://apps.owncloud.com/CONTENT/content-files/166746-ocusagecharts.zip -> owncloud-apps-ocusagecharts-3.4.zip"
16
17 KEYWORDS="~amd64 ~x86"
18
19 DEPEND=""
20 RDEPEND=">=www-apps/owncloud-7.0.0"
21
22 MY_PN="ocusagecharts"
23 S="${WORKDIR}/${MY_PN}/"
24
25 src_install()
26 {
27         insinto "/var/lib/owncloud/apps/${MY_PN}"
28         doins -r *
29 }
30
31 pkg_postinst()
32 {
33         elog "This package install the application into /var/lib/owncloud/apps"
34         elog "to use it two things needs to be configured."
35         elog "(i) config/config.php needs to add apps path c.f. http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_apps.html"
36         elog "(ii) a symlink will have to be created pointing to the location of url variable from this folder"
37 }