Permalink
Browse files

New version: piwik 1.8

  • Loading branch information...
1 parent 0840032 commit 2a7a991fd1b0217578eb9c540df388c9ff293706 @11mariom 11mariom committed Jun 1, 2012
Showing with 48 additions and 0 deletions.
  1. +2 −0 www-apps/piwik/Manifest
  2. +46 −0 www-apps/piwik/piwik-1.8.ebuild
View
@@ -1,5 +1,7 @@
AUX installdoc.txt 710 RMD160 a7e823075754f41b67ef0b1191ff5a8175a2f0a0 SHA1 4ea70e5fc82afba1831eb314fd49be5854ed0d80 SHA256 3f2845e7ffc353d3530943ccbb873249e4e1b8d0e8d4d8caf828477cd04108df
DIST piwik-1.7.1.tar.gz 4609362 RMD160 484d321d31c6e492498b61b3dc05ec3d0d275de6 SHA1 11c5b8de689f7133bacad31c506ab115311a42f2 SHA256 5c921116b9f1e90105952e6cd9254f37cb42a100675917705e4f611dc0d6d555
DIST piwik-1.7.tar.gz 4598025 RMD160 9a2294e620d8ae71c382a2e8e8bcc3db1800557e SHA1 c0205f7d018d8dc33c01e511da3b743a8a0e414c SHA256 221e04df4d26bf0881b06242ba179d7ce01b91bbc5f75b2b48d87388e9dfcb93
+DIST piwik-1.8.tar.gz 4753333 RMD160 5b21d33f9c33c4b2413141547ea029d1e7a053ae SHA1 f135c63117fb77c7d687a6a4656e25d048c7f6d9 SHA256 d6faccdac408a7de94e75e50eebd8779bc708aaa46ab4f1d00499909a0669a65
EBUILD piwik-1.7.1.ebuild 1125 RMD160 a2f5fe4d08f78c888bec14f8ff1dc743e4e9490c SHA1 cf37a4a1c2541b55106cf725c764bc7f9e57a3db SHA256 99065bcdbf9d64747b760224a1c53eda72dd8a6c490994a5c7ed0ae7f4455e3b
EBUILD piwik-1.7.ebuild 1125 RMD160 a2f5fe4d08f78c888bec14f8ff1dc743e4e9490c SHA1 cf37a4a1c2541b55106cf725c764bc7f9e57a3db SHA256 99065bcdbf9d64747b760224a1c53eda72dd8a6c490994a5c7ed0ae7f4455e3b
+EBUILD piwik-1.8.ebuild 1125 RMD160 a2f5fe4d08f78c888bec14f8ff1dc743e4e9490c SHA1 cf37a4a1c2541b55106cf725c764bc7f9e57a3db SHA256 99065bcdbf9d64747b760224a1c53eda72dd8a6c490994a5c7ed0ae7f4455e3b
@@ -0,0 +1,46 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+EAPI=2
+
+inherit webapp depend.php
+
+DESCRIPTION="Piwik is a downloadable, open source (GPL licensed) real time web analytics software program."
+HOMEPAGE="http://www.piwik.org/"
+SRC_URI="http://builds.piwik.org/piwik-${PV}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php[pdo,ctype,xml] || ( <dev-lang/php-5.3[spl,reflection] >=dev-lang/php-5.3 )"
+
+need_httpd_cgi
+need_php_httpd
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ dodir "${MY_HTDOCSDIR}/"{tmp,config}
+ doins -r piwik/*
+
+ webapp_serverowned -R "${MY_HTDOCSDIR}/"{tmp,config}
+ webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
+ webapp_configfile "${MY_HTDOCSDIR}/config/"{global.ini.php,manifest.inc.php}
+ webapp_src_install
+ fperms -R 0660 "${MY_HTDOCSDIR}/"{tmp,config}
+}
+
+pkg_postinst() {
+ elog "Install and upgrade instructions can be found here:"
+ elog " http://piwik.org/docs/installation-optimization/"
+ webapp_pkg_postinst
+}

0 comments on commit 2a7a991

Please sign in to comment.