summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-php5/agavi/ChangeLog10
-rw-r--r--dev-php5/agavi/agavi-1.0.2.ebuild42
2 files changed, 50 insertions, 2 deletions
diff --git a/dev-php5/agavi/ChangeLog b/dev-php5/agavi/ChangeLog
index 59dbf66dad2b..cbe87f875430 100644
--- a/dev-php5/agavi/ChangeLog
+++ b/dev-php5/agavi/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php5/agavi
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/agavi/ChangeLog,v 1.7 2007/11/29 23:43:43 jokey Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/agavi/ChangeLog,v 1.8 2010/04/05 22:08:13 mabi Exp $
+
+*agavi-1.0.2 (05 Apr 2010)
+
+ 05 Apr 2010; <mabi@gentoo.org> +agavi-1.0.2.ebuild:
+ bump thanks to Ole Markus, upstream bug restricts this to
+ dev-php/PEAR-PEAR_PackageFileManager-1.6.3 for now
*agavi-0.11.0 (29 Nov 2007)
diff --git a/dev-php5/agavi/agavi-1.0.2.ebuild b/dev-php5/agavi/agavi-1.0.2.ebuild
new file mode 100644
index 000000000000..110dc610fed0
--- /dev/null
+++ b/dev-php5/agavi/agavi-1.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/agavi/agavi-1.0.2.ebuild,v 1.1 2010/04/05 22:08:13 mabi Exp $
+
+EAPI="2"
+
+inherit php-pear-r1
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="PHP5 MVC Application Framework."
+HOMEPAGE="http://www.agavi.org/"
+SRC_URI="http://d10xg45o6p6dbl.cloudfront.net/projects/a/agavi/${PV}.tgz"
+LICENSE="LGPL-2.1 as-is public-domain CCPL-Attribution-ShareAlike-2.5"
+SLOT="0"
+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-php5/phing-2.2.0
+ <dev-php/PEAR-PEAR_PackageFileManager-1.7.0
+ "
+
+RDEPEND="
+ >=dev-php5/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 build/ "${WORKDIR}"/${P} || die "failed to copy pear package"
+ cp build/package.xml "${WORKDIR}" || die "failed to copy package.xml"
+ cd "${S}"
+ php-pear-lib-r1_src_install
+}