You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-php/agavi/agavi-1.0.4.ebuild

43 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/agavi/agavi-1.0.4.ebuild,v 1.2 2012/12/14 11:21:10 ulm Exp $
EAPI="2"
inherit php-pear-lib-r1
DESCRIPTION="PHP5 MVC Application Framework."
HOMEPAGE="http://www.agavi.org/"
SRC_URI="http://www.agavi.org/download/${PV}.tgz"
LICENSE="LGPL-2.1+ icu unicode ZLIB public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
# currently fails to install with dev-php/PEAR-PEAR_PackageFileManager-1.7.0
DEPEND="
>=dev-lang/php-5[xml]
|| ( <dev-lang/php-5.3[pcre,reflection,spl] >=dev-lang/php-5.3 )
>=dev-php/PEAR-PEAR-1.6.2-r1
>=dev-php/phing-2.2.0[-minimal]
<dev-php/PEAR-PEAR_PackageFileManager-1.7.0
"
RDEPEND="
>=dev-php/phing-2.2.0
"
src_compile() {
cd "${WORKDIR}/${PV}"
phing package-pear || die "failed to build pear package"
}
src_install() {
cd "${WORKDIR}"/${PV}
cp -pPR pear-build/ "${WORKDIR}"/${P} || die "failed to copy pear package"
cp pear-build/package.xml "${WORKDIR}" || die "failed to copy package.xml"
cd "${S}"
php-pear-lib-r1_src_install
}