php5: update to 5.6.16
[feed/packages.git] / lang / php5 / Makefile
1 #
2 # Copyright (C) 2006-2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=php
11 PKG_VERSION:=5.6.16
12 PKG_RELEASE:=1
13
14 PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>, Michael Heimpold <mhei@heimpold.de>
15
16 PKG_LICENSE:=PHPv3.01
17 PKG_LICENSE_FILES:=LICENSE
18
19 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
20 PKG_SOURCE_URL:=http://www.php.net/distributions/
21 PKG_MD5SUM:=3f1d999ed1f9cb5713c9a0161c557f2f
22
23 PKG_FIXUP:=libtool autoreconf
24 PKG_BUILD_PARALLEL:=1
25 PKG_USE_MIPS16:=0
26
27 PHP5_MODULES = \
28 calendar ctype curl \
29 fileinfo \
30 dom \
31 exif \
32 ftp \
33 gettext gd gmp \
34 hash \
35 iconv \
36 json \
37 ldap \
38 mbstring mcrypt mysql mysqli \
39 opcache openssl \
40 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
41 session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
42 tokenizer \
43 xml xmlreader xmlwriter zip \
44
45 PKG_CONFIG_DEPENDS:= \
46 $(patsubst %,CONFIG_PACKAGE_php5-mod-%,$(PHP5_MODULES)) \
47 CONFIG_PHP5_FILTER CONFIG_PHP5_LIBXML CONFIG_PHP5_SYSTEMTZDATA
48
49 include $(INCLUDE_DIR)/package.mk
50 include $(INCLUDE_DIR)/nls.mk
51
52 define Package/php5/Default
53 SUBMENU:=PHP
54 SECTION:=lang
55 CATEGORY:=Languages
56 TITLE:=PHP5 Hypertext preprocessor
57 URL:=http://www.php.net/
58 DEPENDS:=php5
59 endef
60
61 define Package/php5/Default/description
62 PHP is a widely-used general-purpose scripting language that is especially
63 suited for Web development and can be embedded into HTML.
64 endef
65
66 define Package/php5/config
67 config PHP5_FILTER
68 bool "PHP5 Filter support"
69 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
70
71 config PHP5_LIBXML
72 bool "PHP5 LIBXML support"
73 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
74
75 config PHP5_SYSTEMTZDATA
76 bool "Use system timezone data instead of php's built-in database"
77 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
78 select PACKAGE_zoneinfo-core
79 default y
80 help
81 Enabling this feature automatically selects the zoneinfo-core package
82 which contains data for UTC timezone. To use other timezones you have
83 to install the corresponding zoneinfo-... package(s).
84 endef
85
86 define Package/php5
87 $(call Package/php5/Default)
88
89 DEPENDS:=+libpcre +zlib \
90 +PHP5_LIBXML:libxml2
91 endef
92
93 define Package/php5/description
94 $(call Package/php5/Default/description)
95 This package contains only the PHP config file. You must actually choose
96 your PHP flavour (cli, cgi or fastcgi).
97 endef
98
99 define Package/php5-cli
100 $(call Package/php5/Default)
101 TITLE+= (CLI)
102 endef
103
104 define Package/php5-cli/description
105 $(call Package/php5/Default/description)
106 This package contains the CLI version of the PHP5 interpreter.
107 endef
108
109 define Package/php5-cgi
110 $(call Package/php5/Default)
111 TITLE+= (CGI & FastCGI)
112 endef
113
114 define Package/php5-cgi/description
115 $(call Package/php5/Default/description)
116 This package contains the CGI version of the PHP5 interpreter.
117 endef
118
119 define Package/php5-fastcgi
120 $(call Package/php5/Default)
121 DEPENDS+= +php5-cgi
122 TITLE:=FastCGI startup script
123 endef
124
125 define Package/php5-fastcgi/description
126 As FastCGI support is now a core feature the php5-fastcgi package now depends
127 on the php5-cgi package, containing just the startup script.
128 endef
129
130 define Package/php5-fpm
131 $(call Package/php5/Default)
132 DEPENDS+= +php5-cgi
133 TITLE+= (FPM)
134 endef
135
136 define Package/php5-fpm/description
137 $(call Package/php5/Default/description)
138 This package contains the FastCGI Process Manager of the PHP5 interpreter.
139 endef
140
141 CONFIGURE_ARGS+= \
142 --enable-cli \
143 --enable-cgi \
144 --enable-fpm \
145 --enable-shared \
146 --disable-static \
147 --disable-rpath \
148 --disable-debug \
149 --without-pear \
150 \
151 --with-config-file-path=/etc \
152 --with-config-file-scan-dir=/etc/php5 \
153 --disable-short-tags \
154 \
155 --with-zlib="$(STAGING_DIR)/usr" \
156 --with-zlib-dir="$(STAGING_DIR)/usr" \
157 --with-pcre-regex="$(STAGING_DIR)/usr" \
158 --disable-phar
159
160 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-calendar),)
161 CONFIGURE_ARGS+= --enable-calendar=shared
162 else
163 CONFIGURE_ARGS+= --disable-calendar
164 endif
165
166 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ctype),)
167 CONFIGURE_ARGS+= --enable-ctype=shared
168 else
169 CONFIGURE_ARGS+= --disable-ctype
170 endif
171
172 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-curl),)
173 CONFIGURE_ARGS+= --with-curl=shared,"$(STAGING_DIR)/usr"
174 else
175 CONFIGURE_ARGS+= --without-curl
176 endif
177
178 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-fileinfo),)
179 CONFIGURE_ARGS+= --enable-fileinfo=shared
180 else
181 CONFIGURE_ARGS+= --disable-fileinfo
182 endif
183
184 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gettext),)
185 CONFIGURE_ARGS+= --with-gettext=shared,"$(STAGING_DIR)/usr/lib/libintl-full"
186 else
187 CONFIGURE_ARGS+= --without-gettext
188 endif
189
190 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-dom),)
191 CONFIGURE_ARGS+= --enable-dom=shared
192 else
193 CONFIGURE_ARGS+= --disable-dom
194 endif
195
196 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-exif),)
197 CONFIGURE_ARGS+= --enable-exif=shared
198 else
199 CONFIGURE_ARGS+= --disable-exif
200 endif
201
202 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ftp),)
203 CONFIGURE_ARGS+= --enable-ftp=shared
204 else
205 CONFIGURE_ARGS+= --disable-ftp
206 endif
207
208 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gd),)
209 CONFIGURE_ARGS+= \
210 --with-gd=shared \
211 --without-freetype-dir \
212 --with-jpeg-dir="$(STAGING_DIR)/usr" \
213 --with-png-dir="$(STAGING_DIR)/usr" \
214 --without-xpm-dir \
215 --without-t1lib \
216 --enable-gd-native-ttf \
217 --disable-gd-jis-conv
218 else
219 CONFIGURE_ARGS+= --without-gd
220 endif
221
222 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gmp),)
223 CONFIGURE_ARGS+= --with-gmp=shared,"$(STAGING_DIR)/usr"
224 else
225 CONFIGURE_ARGS+= --without-gmp
226 endif
227
228 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-hash),)
229 CONFIGURE_ARGS+= --enable-hash=shared
230 else
231 CONFIGURE_ARGS+= --disable-hash
232 endif
233
234 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-iconv),)
235 CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)"
236 else
237 CONFIGURE_ARGS+= --without-iconv
238 endif
239
240 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-json),)
241 CONFIGURE_ARGS+= --enable-json=shared
242 else
243 CONFIGURE_ARGS+= --disable-json
244 endif
245
246 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ldap),)
247 CONFIGURE_ARGS+= \
248 --with-ldap=shared,"$(STAGING_DIR)/usr" \
249 --with-ldap-sasl="$(STAGING_DIR)/usr"
250 else
251 CONFIGURE_ARGS+= --without-ldap
252 endif
253
254 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mbstring),)
255 CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex
256 else
257 CONFIGURE_ARGS+= --disable-mbstring
258 endif
259
260 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mcrypt),)
261 CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
262 else
263 CONFIGURE_ARGS+= --without-mcrypt
264 endif
265
266 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mysql),)
267 CONFIGURE_ARGS+= --with-mysql=shared,"$(STAGING_DIR)/usr"
268 else
269 CONFIGURE_ARGS+= --without-mysql
270 endif
271
272 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mysqli),)
273 CONFIGURE_ARGS+= --with-mysqli=shared,"$(STAGING_DIR)/usr/bin/mysql_config"
274 else
275 CONFIGURE_ARGS+= --without-mysqli
276 endif
277
278 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-opcache),)
279 CONFIGURE_ARGS+= --enable-opcache=shared
280 else
281 CONFIGURE_ARGS+= --disable-opcache
282 endif
283
284 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-openssl),)
285 CONFIGURE_ARGS+= \
286 --with-openssl=shared,"$(STAGING_DIR)/usr" \
287 --with-kerberos=no \
288 --with-openssl-dir="$(STAGING_DIR)/usr"
289 else
290 CONFIGURE_ARGS+= --without-openssl
291 endif
292
293 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pcntl),)
294 CONFIGURE_ARGS+= --enable-pcntl=shared
295 else
296 CONFIGURE_ARGS+= --disable-pcntl
297 endif
298
299 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo),)
300 CONFIGURE_ARGS+= --enable-pdo=shared
301 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-mysql),)
302 CONFIGURE_ARGS+= --with-pdo-mysql=shared,"$(STAGING_DIR)/usr"
303 else
304 CONFIGURE_ARGS+= --without-pdo-mysql
305 endif
306 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-pgsql),)
307 CONFIGURE_ARGS+= --with-pdo-pgsql=shared,"$(STAGING_DIR)/usr"
308 else
309 CONFIGURE_ARGS+= --without-pdo-pgsql
310 endif
311 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite),)
312 CONFIGURE_ARGS+= --with-pdo-sqlite=shared,"$(STAGING_DIR)/usr"
313 else
314 CONFIGURE_ARGS+= --without-pdo-sqlite
315 endif
316 else
317 CONFIGURE_ARGS+= --disable-pdo
318 endif
319
320 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pgsql),)
321 CONFIGURE_ARGS+= --with-pgsql=shared,"$(STAGING_DIR)/usr"
322 else
323 CONFIGURE_ARGS+= --without-pgsql
324 endif
325
326 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-session),)
327 CONFIGURE_ARGS+= --enable-session=shared
328 else
329 CONFIGURE_ARGS+= --disable-session
330 endif
331
332 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-shmop),)
333 CONFIGURE_ARGS+= --enable-shmop=shared
334 else
335 CONFIGURE_ARGS+= --disable-shmop
336 endif
337
338 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-simplexml),)
339 CONFIGURE_ARGS+= --enable-simplexml=shared
340 else
341 CONFIGURE_ARGS+= --disable-simplexml
342 endif
343
344 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-soap),)
345 CONFIGURE_ARGS+= --enable-soap=shared
346 else
347 CONFIGURE_ARGS+= --disable-soap
348 endif
349
350 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sockets),)
351 CONFIGURE_ARGS+= --enable-sockets=shared
352 else
353 CONFIGURE_ARGS+= --disable-sockets
354 endif
355
356 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sqlite3),)
357 CONFIGURE_ARGS+= --with-sqlite3=shared,"$(STAGING_DIR)/usr"
358 else
359 CONFIGURE_ARGS+= --without-sqlite3
360 endif
361
362 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvmsg),)
363 CONFIGURE_ARGS+= --enable-sysvmsg=shared
364 else
365 CONFIGURE_ARGS+= --disable-sysvmsg
366 endif
367
368 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvsem),)
369 CONFIGURE_ARGS+= --enable-sysvsem=shared
370 else
371 CONFIGURE_ARGS+= --disable-sysvsem
372 endif
373
374 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvshm),)
375 CONFIGURE_ARGS+= --enable-sysvshm=shared
376 else
377 CONFIGURE_ARGS+= --disable-sysvshm
378 endif
379
380 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-tokenizer),)
381 CONFIGURE_ARGS+= --enable-tokenizer=shared
382 else
383 CONFIGURE_ARGS+= --disable-tokenizer
384 endif
385
386 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xml),)
387 CONFIGURE_ARGS+= --enable-xml=shared,"$(STAGING_DIR)/usr"
388 ifneq ($(CONFIG_PHP5_LIBXML),)
389 CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2"
390 else
391 CONFIGURE_ARGS+= --with-libexpat-dir="$(STAGING_DIR)/usr"
392 endif
393 else
394 CONFIGURE_ARGS+= --disable-xml
395 endif
396
397 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xmlreader),)
398 CONFIGURE_ARGS+= --enable-xmlreader=shared,"$(STAGING_DIR)/usr"
399 else
400 CONFIGURE_ARGS+= --disable-xmlreader
401 endif
402
403 ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xmlwriter),)
404 CONFIGURE_ARGS+= --enable-xmlwriter=shared,"$(STAGING_DIR)/usr"
405 else
406 CONFIGURE_ARGS+= --disable-xmlwriter
407 endif
408
409 ifneq ($(CONFIG_PACKAGE_php5-mod-zip),)
410 CONFIGURE_ARGS+= --enable-zip=shared
411 else
412 CONFIGURE_ARGS+= --disable-zip
413 endif
414
415 ifneq ($(SDK)$(CONFIG_PHP5_FILTER),)
416 CONFIGURE_ARGS+= --enable-filter
417 else
418 CONFIGURE_ARGS+= --disable-filter
419 endif
420
421 ifneq ($(SDK)$(CONFIG_PHP5_LIBXML),)
422 CONFIGURE_ARGS+= --enable-libxml
423 CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2"
424 else
425 CONFIGURE_ARGS+= --disable-libxml
426 endif
427
428 ifneq ($(CONFIG_PHP5_SYSTEMTZDATA),)
429 CONFIGURE_ARGS+= --with-system-tzdata
430 else
431 CONFIGURE_ARGS+= --without-system-tzdata
432 endif
433
434 CONFIGURE_VARS+= \
435 ac_cv_c_bigendian_php=$(if $(CONFIG_BIG_ENDIAN),yes,no) \
436 php_cv_cc_rpath="no" \
437 iconv_impl_name="gnu_libiconv" \
438 ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \
439
440 define Package/php5/conffiles
441 /etc/php.ini
442 endef
443
444 define Package/php5/install
445 $(INSTALL_DIR) $(1)/etc
446 $(INSTALL_DATA) ./files/php.ini $(1)/etc/
447 endef
448
449 define Package/php5-cli/install
450 $(INSTALL_DIR) $(1)/usr/bin
451 $(CP) $(PKG_BUILD_DIR)/sapi/cli/php $(1)/usr/bin/php-cli
452 endef
453
454 define Package/php5-cgi/install
455 $(INSTALL_DIR) $(1)/usr/bin
456 $(CP) $(PKG_BUILD_DIR)/sapi/cgi/php-cgi $(1)/usr/bin/php-cgi
457 ln -sf php-cgi $(1)/usr/bin/php-fcgi
458 endef
459
460 define Package/php5-fastcgi/install
461 $(INSTALL_DIR) $(1)/etc/config
462 $(INSTALL_DATA) ./files/php5-fastcgi.config $(1)/etc/config/php5-fastcgi
463
464 $(INSTALL_DIR) $(1)/etc/init.d
465 $(INSTALL_BIN) ./files/php5-fastcgi.init $(1)/etc/init.d/php5-fastcgi
466 endef
467
468 define Package/php5-fpm/install
469 $(INSTALL_DIR) $(1)/usr/bin
470 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sapi/fpm/php-fpm $(1)/usr/bin/php-fpm
471
472 $(INSTALL_DIR) $(1)/etc
473 $(INSTALL_DATA) ./files/php5-fpm.conf $(1)/etc/php5-fpm.conf
474
475 $(INSTALL_DIR) $(1)/etc/config
476 $(INSTALL_DATA) ./files/php5-fpm.config $(1)/etc/config/php5-fpm
477
478 $(INSTALL_DIR) $(1)/etc/php5-fpm.d
479 $(INSTALL_DATA) ./files/php5-fpm-www.conf $(1)/etc/php5-fpm.d/www.conf
480
481 $(INSTALL_DIR) $(1)/etc/init.d
482 $(INSTALL_BIN) ./files/php5-fpm.init $(1)/etc/init.d/php5-fpm
483 endef
484
485 define Build/Prepare
486 $(call Build/Prepare/Default)
487 ( cd $(PKG_BUILD_DIR); touch configure.in; ./buildconf --force )
488 endef
489
490 define Build/InstallDev
491 mkdir -p $(PKG_BUILD_DIR)/staging/usr/bin
492 make -C $(PKG_BUILD_DIR) install INSTALL_ROOT=$(PKG_BUILD_DIR)/staging
493 rm -f $(PKG_BUILD_DIR)/staging/usr/bin/php
494 $(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR_HOST)
495 sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
496 sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
497 sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR_HOST)/usr\"#" $(STAGING_DIR_HOST)/usr/bin/php-config
498 endef
499
500 define BuildModule
501
502 define Package/php5-mod-$(1)
503 $(call Package/php5/Default)
504
505 ifneq ($(3),)
506 DEPENDS+=$(3)
507 endif
508
509 TITLE:=$(2) shared module
510 endef
511
512 define Package/php5-mod-$(1)/install
513 $(INSTALL_DIR) $$(1)/usr/lib/php
514 $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/$(subst -,_,$(1)).so $$(1)/usr/lib/php/
515 $(INSTALL_DIR) $$(1)/etc/php5
516 ifeq ($(4),zend)
517 echo "zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc/php5/$(subst -,_,$(1)).ini
518 else
519 echo "extension=$(subst -,_,$(1)).so" > $$(1)/etc/php5/$(subst -,_,$(1)).ini
520 endif
521 endef
522
523 $$(eval $$(call BuildPackage,php5-mod-$(1)))
524
525 endef
526
527 $(eval $(call BuildPackage,php5))
528 $(eval $(call BuildPackage,php5-cgi))
529 $(eval $(call BuildPackage,php5-cli))
530 $(eval $(call BuildPackage,php5-fastcgi))
531 $(eval $(call BuildPackage,php5-fpm))
532
533 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
534 $(eval $(call BuildModule,calendar,Calendar))
535 $(eval $(call BuildModule,ctype,Ctype))
536 $(eval $(call BuildModule,curl,cURL,+PACKAGE_php5-mod-curl:libcurl))
537 $(eval $(call BuildModule,dom,DOM,+@PHP5_LIBXML +PACKAGE_php5-mod-dom:libxml2))
538 $(eval $(call BuildModule,exif,EXIF))
539 $(eval $(call BuildModule,fileinfo,Fileinfo))
540 $(eval $(call BuildModule,ftp,FTP,+PACKAGE_php5-mod-ftp:libopenssl))
541 $(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php5-mod-gd:libjpeg +PACKAGE_php5-mod-gd:libpng))
542 $(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php5-mod-gettext:libintl-full))
543 $(eval $(call BuildModule,gmp,GMP,+PACKAGE_php5-mod-gmp:libgmp))
544 $(eval $(call BuildModule,hash,Hash))
545 $(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS)))
546 $(eval $(call BuildModule,json,JSON))
547 $(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php5-mod-ldap:libopenldap +PACKAGE_php5-mod-ldap:libsasl2))
548 $(eval $(call BuildModule,mbstring,MBString))
549 $(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt:libmcrypt +PACKAGE_php5-mod-mcrypt:libltdl))
550 $(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql:libmysqlclient))
551 $(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php5-mod-mysqli:libmysqlclient))
552 $(eval $(call BuildModule,opcache,OPcache,,zend))
553 $(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl:libopenssl))
554 $(eval $(call BuildModule,pcntl,PCNTL))
555 $(eval $(call BuildModule,pdo,PHP Data Objects))
556 $(eval $(call BuildModule,pdo-mysql,PDO driver for MySQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-mysql:libmysqlclient))
557 $(eval $(call BuildModule,pdo-pgsql,PDO driver for PostgreSQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-pgsql:libpq))
558 $(eval $(call BuildModule,pdo-sqlite,PDO driver for SQLite 3.x,+php5-mod-pdo +PACKAGE_php5-mod-pdo-sqlite:libsqlite3 +PACKAGE_php5-mod-pdo-sqlite:librt))
559 $(eval $(call BuildModule,pgsql,PostgreSQL,+PACKAGE_php5-mod-pgsql:libpq))
560 $(eval $(call BuildModule,session,Session))
561 $(eval $(call BuildModule,shmop,Shared Memory))
562 $(eval $(call BuildModule,simplexml,SimpleXML,+@PHP5_LIBXML +PACKAGE_php5-mod-simplexml:libxml2))
563 $(eval $(call BuildModule,soap,SOAP,+@PHP5_LIBXML +PACKAGE_php5-mod-soap:libxml2))
564 $(eval $(call BuildModule,sockets,Sockets))
565 $(eval $(call BuildModule,sqlite3,SQLite3,+PACKAGE_php5-mod-sqlite3:libsqlite3))
566 $(eval $(call BuildModule,sysvmsg,System V messages))
567 $(eval $(call BuildModule,sysvsem,System V shared memory))
568 $(eval $(call BuildModule,sysvshm,System V semaphore))
569 $(eval $(call BuildModule,tokenizer,Tokenizer))
570 $(eval $(call BuildModule,xml,XML,+PHP5_LIBXML:libxml2 +!PHP5_LIBXML:libexpat))
571 $(eval $(call BuildModule,xmlreader,XMLReader,+@PHP5_LIBXML +PACKAGE_php5-mod-xmlreader:libxml2))
572 $(eval $(call BuildModule,xmlwriter,XMLWriter,+@PHP5_LIBXML +PACKAGE_php5-mod-xmlwriter:libxml2))
573 $(eval $(call BuildModule,zip,ZIP,+PACKAGE_php5-mod-zip:zlib))