# ChangeLog for dev-php5/onphp-module
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp-module/ChangeLog,v 1.15 2007/03/04 14:03:09 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp-module/ChangeLog,v 1.16 2007/03/11 18:04:04 voxus Exp $
+
+*onphp-module-0.8.6 (11 Mar 2007)
+
+ 11 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org>
+ +onphp-module-0.8.6.ebuild:
+ Version bump.
04 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org>
-onphp-module-0.8.4.ebuild, onphp-module-0.8.5.ebuild:
--- /dev/null
+MD5 2d7733af84faba3f949cfa0db0ff61c6 onphp-0.8.6.tar.bz2 114595
+RMD160 8c744e99cea1e6bd5f5308afc59de3de386c7c2c onphp-0.8.6.tar.bz2 114595
+SHA256 3d76391e2a3bf9c0d1e2fd66dfe8a72bb1f6d6d8d0c36372081865ff54c365df onphp-0.8.6.tar.bz2 114595
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp-module/onphp-module-0.8.6.ebuild,v 1.1 2007/03/11 18:04:04 voxus Exp $
+
+PHP_EXT_NAME="onphp"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+
+inherit php-ext-pecl-r1
+
+SRC_URI="http://onphp.org/download/onphp-${PV}.tar.bz2"
+
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="onPHP's module."
+HOMEPAGE="http://onphp.org/"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+# since need_php51 is missing
+DEPEND=">=dev-lang/php-5.1.4"
+RDEPEND="${DEPEND}
+ ~dev-php5/onphp-${PV}"
+
+PHP_VERSION="5"
+PHP_SHARED_CAT="php5"
+
+S="${WORKDIR}/onphp-${PV}/ext"
+
+pkg_setup() {
+ has_php
+
+ require_php_with_use spl reflection
+}
# ChangeLog for dev-php5/onphp
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/ChangeLog,v 1.41 2007/03/04 14:02:22 voxus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/ChangeLog,v 1.42 2007/03/11 18:02:41 voxus Exp $
+
+*onphp-0.8.6 (11 Mar 2007)
+
+ 11 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org>
+ +onphp-0.8.6.ebuild:
+ Version bump.
04 Mar 2007; Konstantin V. Arkhipov <voxus@gentoo.org>
-onphp-0.8.4.ebuild, onphp-0.8.5.ebuild:
--- /dev/null
+MD5 2d7733af84faba3f949cfa0db0ff61c6 onphp-0.8.6.tar.bz2 114595
+RMD160 8c744e99cea1e6bd5f5308afc59de3de386c7c2c onphp-0.8.6.tar.bz2 114595
+SHA256 3d76391e2a3bf9c0d1e2fd66dfe8a72bb1f6d6d8d0c36372081865ff54c365df onphp-0.8.6.tar.bz2 114595
+MD5 3779c1d96093a4285c85c2a5d168ca3a onphp-api-0.8.6.tar.bz2 6554545
+RMD160 3fbb04d3047d61d68fbcfe63f99a535f18b7d2ee onphp-api-0.8.6.tar.bz2 6554545
+SHA256 90bd90b0d633744e2c7030a76c783ff322fc030abb7d3668b172616f02a792e7 onphp-api-0.8.6.tar.bz2 6554545
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/onphp/onphp-0.8.6.ebuild,v 1.1 2007/03/11 18:02:41 voxus Exp $
+
+inherit php-lib-r1
+
+KEYWORDS="~x86 ~amd64"
+DESCRIPTION="onPHP is the GPL'ed multi-purpose object-oriented PHP framework."
+HOMEPAGE="http://onphp.org/"
+SRC_URI="http://onphp.org/download/${P}.tar.bz2
+ doc? ( http://onphp.org/download/${PN}-api-${PV}.tar.bz2 )"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc"
+
+# since need_php51 is missing
+DEPEND=">=dev-lang/php-5.1"
+RDEPEND=">=dev-lang/php-5.1"
+PHP_VERSION="5"
+PHP_SHARED_CAT="php5"
+
+src_install() {
+ has_php
+
+ if use doc ; then
+ for doc in `find doc -maxdepth 1 -type f -print`; do
+ dodoc ${doc}
+ done
+
+ dohtml -r "${WORKDIR}/${PN}-api-${PV}/"*
+ fi
+
+ php-lib-r1_src_install ./ global.inc.php.tpl
+ php-lib-r1_src_install ./ `find core main meta -type f -print`
+}