diff --git a/www-apps/piwik/Manifest b/www-apps/piwik/Manifest new file mode 100644 index 0000000..9b5fc7d --- /dev/null +++ b/www-apps/piwik/Manifest @@ -0,0 +1,2 @@ +DIST piwik-1.12.tar.gz 6822406 SHA256 b008dd452541af8051cdcf262a333937ba5c86af34e070932d378d256f03fba2 SHA512 a486078bb0e2a5b8069a83e0cd855d4a19ad161e383deac99b85884a2b1f7495650b0226077210505cc413426e8c2386e49b4542d3e9d866168abc018e5adab4 WHIRLPOOL afb33951c752cb40f7a21e48e79d815d370e5efdf2bb883ad2ae5ee1156306f2149445f5ba646f52926d473ead412a92168a5716d57f82752ea4cd0a7c4f5a31 +EBUILD piwik-1.12.ebuild 1151 SHA256 d0d73c87d6988369bc5af21c01c08ef6b08a2368a5940f0d2f0a80592532ddb1 SHA512 aef99eebe4d47aa7d0699638ddedc3674a256d3adf9c6bd071f83146423869dd837f68156475e4c33e174d6886ea3abc18b5d5a88509f89003b182db44e6d33e WHIRLPOOL eda68adcaf06d767769ef35dd37cf5cd5f392c2d57c34b5ec981bcd66990e1560047e7dc0e4c6fa9592dadc732628a1ffed82d9015973566a2e0dc4dc44d4170 diff --git a/www-apps/piwik/piwik-1.12.ebuild b/www-apps/piwik/piwik-1.12.ebuild new file mode 100644 index 0000000..ca61c22 --- /dev/null +++ b/www-apps/piwik/piwik-1.12.ebuild @@ -0,0 +1,47 @@ +# 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" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86" +IUSE="gd geoip" + +DEPEND="" +RDEPEND="dev-lang/php[pdo,ctype,xml] || ( =dev-lang/php-5.3 ) + dev-lang/php[iconv,zlib] + gd? ( dev-lang/php[gd] ) + geoip? ( dev-php/pecl-geoip )" + +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_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 +}