diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-02-20 15:34:25 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-02-20 15:34:25 +0000 |
commit | 77ee58b890b5009f47bbeba699ae506afed5f647 (patch) | |
tree | 4bad929b14701412ab538a3dd38f56e3dca4e1b1 /dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild | |
parent | amd64 stable, bug #259142 (diff) | |
download | gentoo-2-77ee58b890b5009f47bbeba699ae506afed5f647.tar.gz gentoo-2-77ee58b890b5009f47bbeba699ae506afed5f647.tar.bz2 gentoo-2-77ee58b890b5009f47bbeba699ae506afed5f647.zip |
Version bump, security bug #259512
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild')
-rw-r--r-- | dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild b/dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild new file mode 100644 index 000000000000..b1694aadb170 --- /dev/null +++ b/dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendFramework/ZendFramework-1.7.5.ebuild,v 1.1 2009/02/20 15:34:25 dertobi123 Exp $ + +PHP_LIB_NAME="Zend" + +inherit php-lib-r1 + +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DESCRIPTION="Zend Framework is a high quality and open source framework for developing Web Applications." +HOMEPAGE="http://framework.zend.com/" +SRC_URI="!minimal? ( http://framework.zend.com/releases/${P}/${P}.tar.gz ) + minimal? ( http://framework.zend.com/releases/${P}/${P}-minimal.tar.gz ) + doc? ( + http://framework.zend.com/releases/${P}/${P}-apidoc.tar.gz + http://framework.zend.com/releases/${P}/${P}-manual-en.tar.gz )" +LICENSE="BSD" +SLOT="0" +IUSE="doc examples minimal" + +DEPEND="" +RDEPEND="" +need_php_by_category + +src_unpack() { + if use minimal ; then + S="${WORKDIR}/${P}-minimal" + fi + + unpack ${A} + + cd "${S}" +} + +src_install() { + php-lib-r1_src_install library/Zend $(cd library/Zend ; find . -type f -print) + + if use examples ; then + insinto /usr/share/doc/${PF} + + if ! use minimal ; then + doins -r demos + fi + fi + + dodoc README.txt + if use doc ; then + dohtml -r documentation/* + fi +} + +pkg_postinst() { + elog "For more info, please take a look at the manual at:" + elog "http://framework.zend.com/manual" + elog "" + + if use minimal; then + elog "You have installed the minimal version of ZendFramework," + elog "so the Dojo toolkit, demos and tests has not been installed." + else + elog "You have installed the full version of ZendFramework, which" + elog "includde the Dojo toolkit, demos and tests." + elog "To install without there, enable the minimal USE flag" + fi +} |