zarafa/www-apps/z-push/z-push-1.5.4.707.ebuild
geos_one 5a1dab8c48 www-apps/z-push: Bump
(Portage version: 2.1.10.7/svn/Linux x86_64, RepoMan options: --force)

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/zarafa@2978 6952d904-891a-0410-993b-d76249ca496b
2011-07-25 18:44:17 +00:00

44 lines
908 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 versionator
MY_PV=$(replace_version_separator 3 '-' )
DESCRIPTION="Z-Push is an implementation of the ActiveSync protocol."
HOMEPAGE="http://z-push.sourceforge.net/"
SRC_URI="mirror://berlios/${PN}/${PN}-${MY_PV}.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}-${MY_PV}
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
}