1 |
jokey 08/03/03 17:01:28 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ZendOptimizer-3.3.3.ebuild |
5 |
Log: |
6 |
Version bump from project overlay |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-php5/ZendOptimizer/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- ChangeLog 30 Aug 2007 12:58:10 -0000 1.1 |
23 |
+++ ChangeLog 3 Mar 2008 17:01:27 -0000 1.2 |
24 |
@@ -1,6 +1,16 @@ |
25 |
# ChangeLog for dev-php5/ZendOptimizer |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v 1.1 2007/08/30 12:58:10 jokey Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v 1.2 2008/03/03 17:01:27 jokey Exp $ |
30 |
+ |
31 |
+*ZendOptimizer-3.3.3 (03 Mar 2008) |
32 |
+ |
33 |
+ 03 Mar 2008; Markus Ullmann <jokey@g.o> |
34 |
+ +ZendOptimizer-3.3.3.ebuild: |
35 |
+ Version bump from project overlay |
36 |
+ |
37 |
+ 03 Mar 2008; Jakub Moc <jakub@g.o> |
38 |
+ +ZendOptimizer-3.3.3.ebuild: |
39 |
+ Version bump for Bug 212196 |
40 |
|
41 |
*ZendOptimizer-3.3.0a (30 Aug 2007) |
42 |
|
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-php5/ZendOptimizer/ZendOptimizer-3.3.3.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: ZendOptimizer-3.3.3.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3.ebuild,v 1.1 2008/03/03 17:01:27 jokey Exp $ |
56 |
|
57 |
PHP_EXT_ZENDEXT="yes" |
58 |
PHP_EXT_NAME="ZendOptimizer" |
59 |
PHP_EXT_INI="yes" |
60 |
|
61 |
inherit php-ext-base-r1 |
62 |
|
63 |
KEYWORDS="~amd64 ~x86" |
64 |
|
65 |
SRC_URI="amd64? ( ${PN}-${PV}-linux-glibc23-x86_64.tar.gz ) |
66 |
x86? ( ${PN}-${PV}-linux-glibc23-i386.tar.gz )" |
67 |
|
68 |
MY_ARCH=${ARCH/x86/glibc23-i386} |
69 |
MY_ARCH=${MY_ARCH/amd64/glibc23-x86_64} |
70 |
|
71 |
S="${WORKDIR}/${PN}-${PV}-linux-${MY_ARCH}" |
72 |
|
73 |
DESCRIPTION="The Zend PHP optimizer and loader for encoded scripts." |
74 |
HOMEPAGE="http://www.zend.com/products/zend_optimizer" |
75 |
LICENSE="zend-optimizer" |
76 |
SLOT="0" |
77 |
IUSE="" |
78 |
|
79 |
RESTRICT="mirror fetch strip" |
80 |
|
81 |
DEPEND="" |
82 |
RDEPEND="!dev-php5/xdebug !dev-php5/pecl-apc !dev-php5/eaccelerator" |
83 |
|
84 |
need_php_by_category |
85 |
|
86 |
pkg_nofetch() { |
87 |
einfo |
88 |
einfo "Please download ${PN}-${PV}-linux-${MY_ARCH} from:" |
89 |
einfo "${HOMEPAGE}" |
90 |
einfo "and put it into ${DISTDIR}." |
91 |
einfo "Please note that you need a valid Zend Account" |
92 |
einfo "(free) to download the Zend Optimizer!" |
93 |
einfo |
94 |
} |
95 |
|
96 |
pkg_setup() { |
97 |
php_binary_extension |
98 |
QA_TEXTRELS="${EXT_DIR/\//}/${PHP_EXT_NAME}.so" |
99 |
QA_EXECSTACK="${EXT_DIR/\//}/${PHP_EXT_NAME}.so" |
100 |
} |
101 |
|
102 |
src_install() { |
103 |
php-ext-base-r1_src_install |
104 |
|
105 |
if has_version =dev-lang/php-5.2* ; then |
106 |
ZENDOPT_VERSION_DIR="5_2_x_comp" |
107 |
else |
108 |
die "Unable to find an installed dev-lang/php-5* package." |
109 |
fi |
110 |
|
111 |
# Detect if we use ZTS and change the file path accordingly |
112 |
if has_zts ; then |
113 |
ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/TS/${PHP_EXT_NAME}.so" |
114 |
else |
115 |
ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/${PHP_EXT_NAME}.so" |
116 |
fi |
117 |
|
118 |
# Install the binary |
119 |
insinto ${EXT_DIR} |
120 |
doins ${ZENDOPT_SO_FILE} |
121 |
|
122 |
# Add the correct settings to the extension ini files |
123 |
php-ext-base-r1_addtoinifiles "zend_optimizer.optimization_level" "15" |
124 |
php-ext-base-r1_addtoinifiles "zend_optimizer.enable_loader" "0" |
125 |
php-ext-base-r1_addtoinifiles "zend_optimizer.disable_licensing" "0" |
126 |
|
127 |
dodoc-php README-${PN} data/doc/Zend_Optimizer_User_Guide.pdf |
128 |
} |
129 |
|
130 |
pkg_postinst() { |
131 |
has_php |
132 |
|
133 |
# You only need to restart apache2 if you're using mod_php |
134 |
if built_with_use =${PHP_PKG} apache2 ; then |
135 |
elog |
136 |
elog "You need to restart apache2 to activate the ${PN}." |
137 |
elog |
138 |
fi |
139 |
} |
140 |
|
141 |
|
142 |
|
143 |
-- |
144 |
gentoo-commits@l.g.o mailing list |