51a384c5f8
(Portage version: 2.1.10.3/svn/Linux x86_64) git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2934 6952d904-891a-0410-993b-d76249ca496b
41 lines
832 B
Bash
41 lines
832 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="2"
|
|
|
|
inherit webapp depend.php
|
|
|
|
DESCRIPTION="Z-Push is an implementation of the ActiveSync protocol."
|
|
HOMEPAGE="http://z-push.sourceforge.net/"
|
|
SRC_URI="mirror://berlios/${PN}/${P}.tar.gz"
|
|
|
|
LICENSE="AGPL-3"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
|
|
|
|
S="${WORKDIR}"/${PN}
|
|
need_php_httpd
|
|
|
|
src_install() {
|
|
webapp_src_preinst
|
|
|
|
dodoc INSTALL LICENSE
|
|
rm -f INSTALL LICENSE
|
|
|
|
insinto "${MY_HTDOCSDIR}"
|
|
doins -r .
|
|
|
|
webapp_serverowned "${MY_HTDOCSDIR}"/state
|
|
|
|
webapp_configfile "${MY_HTDOCSDIR}"/config.php
|
|
|
|
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
|
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
|
|
|
webapp_src_install
|
|
}
|