2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_MAINTAINER
:=W. Michael Petullo
<mike@flyn.org
>, Michael Heimpold
<mhei@heimpold.de
>
17 PKG_LICENSE_FILES
:=LICENSE
19 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
20 PKG_SOURCE_URL
:=http
://www.php.net
/distributions
/
21 PKG_MD5SUM
:=2e1332123a7e19d15ed2af2d1d6bd6fd
23 PKG_FIXUP
:=libtool autoreconf
38 mbstring mcrypt mysql mysqli \
40 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
41 session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
43 xml xmlreader xmlwriter zip \
45 PKG_CONFIG_DEPENDS
:= \
46 $(patsubst %,CONFIG_PACKAGE_php5-mod-
%,$(PHP5_MODULES
)) \
47 CONFIG_PHP5_FILTER CONFIG_PHP5_LIBXML CONFIG_PHP5_SYSTEMTZDATA
49 include $(INCLUDE_DIR
)/package.mk
50 include $(INCLUDE_DIR
)/nls.mk
52 define Package
/php5
/Default
56 TITLE
:=PHP5 Hypertext preprocessor
57 URL
:=http
://www.php.net
/
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.
66 define Package
/php5
/config
68 bool
"PHP5 Filter support"
69 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
72 bool
"PHP5 LIBXML support"
73 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
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
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
).
87 $(call Package
/php5
/Default
)
89 DEPENDS
:=+libpcre
+zlib \
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
).
99 define Package
/php5-cli
100 $(call Package
/php5
/Default
)
104 define Package
/php5-cli
/description
105 $(call Package
/php5
/Default
/description
)
106 This package contains the CLI version of the PHP5 interpreter.
109 define Package
/php5-cgi
110 $(call Package
/php5
/Default
)
111 TITLE
+= (CGI
& FastCGI
)
114 define Package
/php5-cgi
/description
115 $(call Package
/php5
/Default
/description
)
116 This package contains the CGI version of the PHP5 interpreter.
119 define Package
/php5-fastcgi
120 $(call Package
/php5
/Default
)
122 TITLE
:=FastCGI startup script
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.
130 define Package
/php5-fpm
131 $(call Package
/php5
/Default
)
136 define Package
/php5-fpm
/description
137 $(call Package
/php5
/Default
/description
)
138 This package contains the FastCGI Process Manager of the PHP5 interpreter.
151 --with-config-file-path
=/etc \
152 --with-config-file-scan-dir
=/etc
/php5 \
153 --disable-short-tags \
155 --with-zlib
="$(STAGING_DIR)/usr" \
156 --with-zlib-dir
="$(STAGING_DIR)/usr" \
157 --with-pcre-regex
="$(STAGING_DIR)/usr" \
160 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-calendar
),)
161 CONFIGURE_ARGS
+= --enable-calendar
=shared
163 CONFIGURE_ARGS
+= --disable-calendar
166 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ctype
),)
167 CONFIGURE_ARGS
+= --enable-ctype
=shared
169 CONFIGURE_ARGS
+= --disable-ctype
172 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-curl
),)
173 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
175 CONFIGURE_ARGS
+= --without-curl
178 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-fileinfo
),)
179 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
181 CONFIGURE_ARGS
+= --disable-fileinfo
184 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gettext
),)
185 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
187 CONFIGURE_ARGS
+= --without-gettext
190 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-dom
),)
191 CONFIGURE_ARGS
+= --enable-dom
=shared
193 CONFIGURE_ARGS
+= --disable-dom
196 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-exif
),)
197 CONFIGURE_ARGS
+= --enable-exif
=shared
199 CONFIGURE_ARGS
+= --disable-exif
202 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ftp
),)
203 CONFIGURE_ARGS
+= --enable-ftp
=shared
205 CONFIGURE_ARGS
+= --disable-ftp
208 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gd
),)
211 --without-freetype-dir \
212 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
213 --with-png-dir
="$(STAGING_DIR)/usr" \
216 --enable-gd-native-ttf \
217 --disable-gd-jis-conv
219 CONFIGURE_ARGS
+= --without-gd
222 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gmp
),)
223 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
225 CONFIGURE_ARGS
+= --without-gmp
228 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-hash
),)
229 CONFIGURE_ARGS
+= --enable-hash
=shared
231 CONFIGURE_ARGS
+= --disable-hash
234 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-iconv
),)
235 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
237 CONFIGURE_ARGS
+= --without-iconv
240 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-json
),)
241 CONFIGURE_ARGS
+= --enable-json
=shared
243 CONFIGURE_ARGS
+= --disable-json
246 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ldap
),)
248 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
249 --with-ldap-sasl
="$(STAGING_DIR)/usr"
251 CONFIGURE_ARGS
+= --without-ldap
254 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mbstring
),)
255 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
257 CONFIGURE_ARGS
+= --disable-mbstring
260 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mcrypt
),)
261 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
263 CONFIGURE_ARGS
+= --without-mcrypt
266 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysql
),)
267 CONFIGURE_ARGS
+= --with-mysql
=shared
,"$(STAGING_DIR)/usr"
269 CONFIGURE_ARGS
+= --without-mysql
272 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysqli
),)
273 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
275 CONFIGURE_ARGS
+= --without-mysqli
278 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-opcache
),)
279 CONFIGURE_ARGS
+= --enable-opcache
=shared
281 CONFIGURE_ARGS
+= --disable-opcache
284 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-openssl
),)
286 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
288 --with-openssl-dir
="$(STAGING_DIR)/usr"
290 CONFIGURE_ARGS
+= --without-openssl
293 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pcntl
),)
294 CONFIGURE_ARGS
+= --enable-pcntl
=shared
296 CONFIGURE_ARGS
+= --disable-pcntl
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"
304 CONFIGURE_ARGS
+= --without-pdo-mysql
306 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-pgsql
),)
307 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
309 CONFIGURE_ARGS
+= --without-pdo-pgsql
311 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite
),)
312 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
314 CONFIGURE_ARGS
+= --without-pdo-sqlite
317 CONFIGURE_ARGS
+= --disable-pdo
320 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pgsql
),)
321 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
323 CONFIGURE_ARGS
+= --without-pgsql
326 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-session
),)
327 CONFIGURE_ARGS
+= --enable-session
=shared
329 CONFIGURE_ARGS
+= --disable-session
332 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-shmop
),)
333 CONFIGURE_ARGS
+= --enable-shmop
=shared
335 CONFIGURE_ARGS
+= --disable-shmop
338 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-simplexml
),)
339 CONFIGURE_ARGS
+= --enable-simplexml
=shared
341 CONFIGURE_ARGS
+= --disable-simplexml
344 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-soap
),)
345 CONFIGURE_ARGS
+= --enable-soap
=shared
347 CONFIGURE_ARGS
+= --disable-soap
350 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sockets
),)
351 CONFIGURE_ARGS
+= --enable-sockets
=shared
353 CONFIGURE_ARGS
+= --disable-sockets
356 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sqlite3
),)
357 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
359 CONFIGURE_ARGS
+= --without-sqlite3
362 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvmsg
),)
363 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
365 CONFIGURE_ARGS
+= --disable-sysvmsg
368 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvsem
),)
369 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
371 CONFIGURE_ARGS
+= --disable-sysvsem
374 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvshm
),)
375 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
377 CONFIGURE_ARGS
+= --disable-sysvshm
380 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-tokenizer
),)
381 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
383 CONFIGURE_ARGS
+= --disable-tokenizer
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"
391 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
394 CONFIGURE_ARGS
+= --disable-xml
397 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlreader
),)
398 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
400 CONFIGURE_ARGS
+= --disable-xmlreader
403 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlwriter
),)
404 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
406 CONFIGURE_ARGS
+= --disable-xmlwriter
409 ifneq ($(CONFIG_PACKAGE_php5-mod-zip
),)
410 CONFIGURE_ARGS
+= --enable-zip
=shared
412 CONFIGURE_ARGS
+= --disable-zip
415 ifneq ($(SDK
)$(CONFIG_PHP5_FILTER
),)
416 CONFIGURE_ARGS
+= --enable-filter
418 CONFIGURE_ARGS
+= --disable-filter
421 ifneq ($(SDK
)$(CONFIG_PHP5_LIBXML
),)
422 CONFIGURE_ARGS
+= --enable-libxml
423 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
425 CONFIGURE_ARGS
+= --disable-libxml
428 ifneq ($(CONFIG_PHP5_SYSTEMTZDATA
),)
429 CONFIGURE_ARGS
+= --with-system-tzdata
431 CONFIGURE_ARGS
+= --without-system-tzdata
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" \
440 define Package
/php5
/conffiles
444 define Package
/php5
/install
445 $(INSTALL_DIR
) $(1)/etc
446 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
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
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
460 define Package
/php5-fastcgi
/install
461 $(INSTALL_DIR
) $(1)/etc
/config
462 $(INSTALL_DATA
) .
/files
/php5-fastcgi.config
$(1)/etc
/config
/php5-fastcgi
464 $(INSTALL_DIR
) $(1)/etc
/init.d
465 $(INSTALL_BIN
) .
/files
/php5-fastcgi.init
$(1)/etc
/init.d
/php5-fastcgi
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
472 $(INSTALL_DIR
) $(1)/etc
473 $(INSTALL_DATA
) .
/files
/php5-fpm.conf
$(1)/etc
/php5-fpm.conf
475 $(INSTALL_DIR
) $(1)/etc
/config
476 $(INSTALL_DATA
) .
/files
/php5-fpm.config
$(1)/etc
/config
/php5-fpm
478 $(INSTALL_DIR
) $(1)/etc
/php5-fpm.d
479 $(INSTALL_DATA
) .
/files
/php5-fpm-www.conf
$(1)/etc
/php5-fpm.d
/www.conf
481 $(INSTALL_DIR
) $(1)/etc
/init.d
482 $(INSTALL_BIN
) .
/files
/php5-fpm.init
$(1)/etc
/init.d
/php5-fpm
486 $(call Build
/Prepare
/Default
)
487 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
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
502 define Package
/php5-mod-
$(1)
503 $(call Package
/php5
/Default
)
509 TITLE
:=$(2) shared module
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
517 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php5
/$(subst -,_
,$(1)).ini
519 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php5
/$(subst -,_
,$(1)).ini
523 $$(eval
$$(call BuildPackage
,php5-mod-
$(1)))
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
))
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
))