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