www-apps/owncloud-apps-ocusagecharts: Add install instructions
[portage-overlay.git] / www-apps / owncloud-apps-ocusagecharts / owncloud-apps-ocusagecharts-3.2.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 -> ocusagecharts.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_compile()
26 {
27         #No compilation needed for this pacakge
28         echo "ok" || die
29 }
30
31 src_install()
32 {
33         insinto "/var/lib/owncloud/apps/${MY_PN}"
34         doins -r *
35 }
36
37 pkg_postinst()
38 {
39         elog "This package install the application into /var/lib/owncloud/apps"
40         elog "to use it two things needs to be configured."
41         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"
42         elog "(ii) a symlink will have to be created pointing to the location of url variable from this folder"
43 }