Skip to content

Commit

Permalink
Update to EAPI4 (which removes the need for depend.php)
Browse files Browse the repository at this point in the history
  • Loading branch information
wundrian committed Jun 22, 2012
1 parent 2c7cb47 commit 4dbc993
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions www-apps/b2evolution/b2evolution-4.1.4.ebuild
Expand Up @@ -2,7 +2,9 @@
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild,v 1.3 2008/02/22 15:43:09 hollow Exp $ # $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-2.4.0_rc2.ebuild,v 1.3 2008/02/22 15:43:09 hollow Exp $


inherit webapp eutils depend.php EAPI=4

inherit webapp eutils


MY_EXT="stable-2012-04-03" MY_EXT="stable-2012-04-03"
MY_PV=${PV/_/-} MY_PV=${PV/_/-}
Expand All @@ -15,25 +17,15 @@ LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86" KEYWORDS="~amd64 ~x86"
IUSE="" IUSE=""


RDEPEND="" RDEPEND="virtual/httpd-php
dev-lang/php[ctype,curl,mysql,tokenizer,xml]"
DEPEND="${RDEPEND} DEPEND="${RDEPEND}
app-arch/unzip" app-arch/unzip"


need_httpd_cgi need_httpd_cgi
need_php_httpd


S="${WORKDIR}/${PN}" S="${WORKDIR}/${PN}"


pkg_setup() {
webapp_pkg_setup
has_php
if [[ ${PHP_VERSION} == "4" ]]; then
require_php_with_use expat tokenizer mysql
else
require_php_with_use curl ctype xml tokenizer mysql
fi
}

src_install() { src_install() {
webapp_src_preinst webapp_src_preinst


Expand Down

0 comments on commit 4dbc993

Please sign in to comment.