2 # Copyright (C) 2006-2016 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.xz
20 PKG_SOURCE_URL
:=http
://www.php.net
/distributions
/
21 PKG_MD5SUM
:=aab960cc1b2bfbeb00d030a9d42b38bd
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
)
101 DEPENDS
+= +PACKAGE_php5-mod-intl
:libstdcpp
105 define Package
/php5-cli
/description
106 $(call Package
/php5
/Default
/description
)
107 This package contains the CLI version of the PHP5 interpreter.
110 define Package
/php5-cgi
111 $(call Package
/php5
/Default
)
112 DEPENDS
+= +PACKAGE_php5-mod-intl
:libstdcpp
113 TITLE
+= (CGI
& FastCGI
)
116 define Package
/php5-cgi
/description
117 $(call Package
/php5
/Default
/description
)
118 This package contains the CGI version of the PHP5 interpreter.
121 define Package
/php5-fastcgi
122 $(call Package
/php5
/Default
)
124 TITLE
:=FastCGI startup script
127 define Package
/php5-fastcgi
/description
128 As FastCGI support is now a core feature the php5-fastcgi package now depends
129 on the php5-cgi package
, containing just the startup script.
132 define Package
/php5-fpm
133 $(call Package
/php5
/Default
)
138 define Package
/php5-fpm
/description
139 $(call Package
/php5
/Default
/description
)
140 This package contains the FastCGI Process Manager of the PHP5 interpreter.
153 --with-config-file-path
=/etc \
154 --with-config-file-scan-dir
=/etc
/php5 \
155 --disable-short-tags \
157 --with-zlib
="$(STAGING_DIR)/usr" \
158 --with-zlib-dir
="$(STAGING_DIR)/usr" \
159 --with-pcre-regex
="$(STAGING_DIR)/usr" \
162 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-calendar
),)
163 CONFIGURE_ARGS
+= --enable-calendar
=shared
165 CONFIGURE_ARGS
+= --disable-calendar
168 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ctype
),)
169 CONFIGURE_ARGS
+= --enable-ctype
=shared
171 CONFIGURE_ARGS
+= --disable-ctype
174 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-curl
),)
175 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
177 CONFIGURE_ARGS
+= --without-curl
180 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-fileinfo
),)
181 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
183 CONFIGURE_ARGS
+= --disable-fileinfo
186 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gettext
),)
187 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
189 CONFIGURE_ARGS
+= --without-gettext
192 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-dom
),)
193 CONFIGURE_ARGS
+= --enable-dom
=shared
195 CONFIGURE_ARGS
+= --disable-dom
198 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-exif
),)
199 CONFIGURE_ARGS
+= --enable-exif
=shared
201 CONFIGURE_ARGS
+= --disable-exif
204 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ftp
),)
205 CONFIGURE_ARGS
+= --enable-ftp
=shared
207 CONFIGURE_ARGS
+= --disable-ftp
210 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gd
),)
213 --without-freetype-dir \
214 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
215 --with-png-dir
="$(STAGING_DIR)/usr" \
218 --enable-gd-native-ttf \
219 --disable-gd-jis-conv
221 CONFIGURE_ARGS
+= --without-gd
224 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gmp
),)
225 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
227 CONFIGURE_ARGS
+= --without-gmp
230 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-hash
),)
231 CONFIGURE_ARGS
+= --enable-hash
=shared
233 CONFIGURE_ARGS
+= --disable-hash
236 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-iconv
),)
237 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
239 CONFIGURE_ARGS
+= --without-iconv
242 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-intl
),)
243 CONFIGURE_ARGS
+= --enable-intl
=shared
245 CONFIGURE_ARGS
+= --disable-intl
248 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-json
),)
249 CONFIGURE_ARGS
+= --enable-json
=shared
251 CONFIGURE_ARGS
+= --disable-json
254 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ldap
),)
256 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
257 --with-ldap-sasl
="$(STAGING_DIR)/usr"
259 CONFIGURE_ARGS
+= --without-ldap
262 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mbstring
),)
263 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
265 CONFIGURE_ARGS
+= --disable-mbstring
268 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mcrypt
),)
269 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
271 CONFIGURE_ARGS
+= --without-mcrypt
274 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysql
),)
275 CONFIGURE_ARGS
+= --with-mysql
=shared
,"$(STAGING_DIR)/usr"
277 CONFIGURE_ARGS
+= --without-mysql
280 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysqli
),)
281 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
283 CONFIGURE_ARGS
+= --without-mysqli
286 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-opcache
),)
287 CONFIGURE_ARGS
+= --enable-opcache
=shared
289 CONFIGURE_ARGS
+= --disable-opcache
292 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-openssl
),)
294 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
296 --with-openssl-dir
="$(STAGING_DIR)/usr"
298 CONFIGURE_ARGS
+= --without-openssl
301 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pcntl
),)
302 CONFIGURE_ARGS
+= --enable-pcntl
=shared
304 CONFIGURE_ARGS
+= --disable-pcntl
307 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo
),)
308 CONFIGURE_ARGS
+= --enable-pdo
=shared
309 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-mysql
),)
310 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
,"$(STAGING_DIR)/usr"
312 CONFIGURE_ARGS
+= --without-pdo-mysql
314 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-pgsql
),)
315 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
317 CONFIGURE_ARGS
+= --without-pdo-pgsql
319 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite
),)
320 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
322 CONFIGURE_ARGS
+= --without-pdo-sqlite
325 CONFIGURE_ARGS
+= --disable-pdo
328 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pgsql
),)
329 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
331 CONFIGURE_ARGS
+= --without-pgsql
334 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-session
),)
335 CONFIGURE_ARGS
+= --enable-session
=shared
337 CONFIGURE_ARGS
+= --disable-session
340 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-shmop
),)
341 CONFIGURE_ARGS
+= --enable-shmop
=shared
343 CONFIGURE_ARGS
+= --disable-shmop
346 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-simplexml
),)
347 CONFIGURE_ARGS
+= --enable-simplexml
=shared
349 CONFIGURE_ARGS
+= --disable-simplexml
352 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-soap
),)
353 CONFIGURE_ARGS
+= --enable-soap
=shared
355 CONFIGURE_ARGS
+= --disable-soap
358 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sockets
),)
359 CONFIGURE_ARGS
+= --enable-sockets
=shared
361 CONFIGURE_ARGS
+= --disable-sockets
364 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sqlite3
),)
365 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
367 CONFIGURE_ARGS
+= --without-sqlite3
370 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvmsg
),)
371 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
373 CONFIGURE_ARGS
+= --disable-sysvmsg
376 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvsem
),)
377 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
379 CONFIGURE_ARGS
+= --disable-sysvsem
382 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvshm
),)
383 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
385 CONFIGURE_ARGS
+= --disable-sysvshm
388 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-tokenizer
),)
389 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
391 CONFIGURE_ARGS
+= --disable-tokenizer
394 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xml
),)
395 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
396 ifneq ($(CONFIG_PHP5_LIBXML
),)
397 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
399 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
402 CONFIGURE_ARGS
+= --disable-xml
405 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlreader
),)
406 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
408 CONFIGURE_ARGS
+= --disable-xmlreader
411 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlwriter
),)
412 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
414 CONFIGURE_ARGS
+= --disable-xmlwriter
417 ifneq ($(CONFIG_PACKAGE_php5-mod-zip
),)
418 CONFIGURE_ARGS
+= --enable-zip
=shared
420 CONFIGURE_ARGS
+= --disable-zip
423 ifneq ($(SDK
)$(CONFIG_PHP5_FILTER
),)
424 CONFIGURE_ARGS
+= --enable-filter
426 CONFIGURE_ARGS
+= --disable-filter
429 ifneq ($(SDK
)$(CONFIG_PHP5_LIBXML
),)
430 CONFIGURE_ARGS
+= --enable-libxml
431 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
433 CONFIGURE_ARGS
+= --disable-libxml
436 ifneq ($(CONFIG_PHP5_SYSTEMTZDATA
),)
437 CONFIGURE_ARGS
+= --with-system-tzdata
439 CONFIGURE_ARGS
+= --without-system-tzdata
443 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
444 php_cv_cc_rpath
="no" \
445 iconv_impl_name
="gnu_libiconv" \
446 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
448 define Package
/php5
/conffiles
452 define Package
/php5
/install
453 $(INSTALL_DIR
) $(1)/etc
454 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
457 define Package
/php5-cli
/install
458 $(INSTALL_DIR
) $(1)/usr
/bin
459 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
462 define Package
/php5-cgi
/install
463 $(INSTALL_DIR
) $(1)/usr
/bin
464 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
465 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
468 define Package
/php5-fastcgi
/install
469 $(INSTALL_DIR
) $(1)/etc
/config
470 $(INSTALL_DATA
) .
/files
/php5-fastcgi.config
$(1)/etc
/config
/php5-fastcgi
472 $(INSTALL_DIR
) $(1)/etc
/init.d
473 $(INSTALL_BIN
) .
/files
/php5-fastcgi.init
$(1)/etc
/init.d
/php5-fastcgi
476 define Package
/php5-fpm
/install
477 $(INSTALL_DIR
) $(1)/usr
/bin
478 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php-fpm
480 $(INSTALL_DIR
) $(1)/etc
481 $(INSTALL_DATA
) .
/files
/php5-fpm.conf
$(1)/etc
/php5-fpm.conf
483 $(INSTALL_DIR
) $(1)/etc
/config
484 $(INSTALL_DATA
) .
/files
/php5-fpm.config
$(1)/etc
/config
/php5-fpm
486 $(INSTALL_DIR
) $(1)/etc
/php5-fpm.d
487 $(INSTALL_DATA
) .
/files
/php5-fpm-www.conf
$(1)/etc
/php5-fpm.d
/www.conf
489 $(INSTALL_DIR
) $(1)/etc
/init.d
490 $(INSTALL_BIN
) .
/files
/php5-fpm.init
$(1)/etc
/init.d
/php5-fpm
494 $(call Build
/Prepare
/Default
)
495 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
498 define Build
/InstallDev
499 mkdir
-p
$(PKG_BUILD_DIR
)/staging
/usr
/bin
500 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
501 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php
502 $(CP
) $(PKG_BUILD_DIR
)/staging
/* $(STAGING_DIR
)/host
503 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/host/usr'#" $(STAGING_DIR
)/host
/usr
/bin
/phpize
504 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/host/usr'#" $(STAGING_DIR
)/host
/usr
/bin
/phpize
505 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/host/usr\"#" $(STAGING_DIR
)/host
/usr
/bin
/php-config
510 define Package
/php5-mod-
$(1)
511 $(call Package
/php5
/Default
)
517 TITLE
:=$(2) shared module
520 define Package
/php5-mod-
$(1)/install
521 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
522 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
523 $(INSTALL_DIR
) $$(1)/etc
/php5
525 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php5
/$(subst -,_
,$(1)).ini
527 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php5
/$(subst -,_
,$(1)).ini
531 $$(eval
$$(call BuildPackage
,php5-mod-
$(1)))
535 $(eval
$(call BuildPackage
,php5
))
536 $(eval
$(call BuildPackage
,php5-cgi
))
537 $(eval
$(call BuildPackage
,php5-cli
))
538 $(eval
$(call BuildPackage
,php5-fastcgi
))
539 $(eval
$(call BuildPackage
,php5-fpm
))
541 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
542 $(eval
$(call BuildModule
,calendar
,Calendar
))
543 $(eval
$(call BuildModule
,ctype
,Ctype
))
544 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php5-mod-curl
:libcurl
))
545 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP5_LIBXML
+PACKAGE_php5-mod-dom
:libxml2
))
546 $(eval
$(call BuildModule
,exif
,EXIF
))
547 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
548 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php5-mod-ftp
:libopenssl
))
549 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php5-mod-gd
:libjpeg
+PACKAGE_php5-mod-gd
:libpng
))
550 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php5-mod-gettext
:libintl-full
))
551 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php5-mod-gmp
:libgmp
))
552 $(eval
$(call BuildModule
,hash
,Hash
))
553 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
554 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php5-mod-intl
:icu
))
555 $(eval
$(call BuildModule
,json
,JSON
))
556 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php5-mod-ldap
:libopenldap
+PACKAGE_php5-mod-ldap
:libsasl2
))
557 $(eval
$(call BuildModule
,mbstring
,MBString
))
558 $(eval
$(call BuildModule
,mcrypt
,Mcrypt
,+PACKAGE_php5-mod-mcrypt
:libmcrypt
+PACKAGE_php5-mod-mcrypt
:libltdl
))
559 $(eval
$(call BuildModule
,mysql
,MySQL
,+PACKAGE_php5-mod-mysql
:libmysqlclient
))
560 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php5-mod-mysqli
:libmysqlclient
))
561 $(eval
$(call BuildModule
,opcache
,OPcache
,,zend
))
562 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php5-mod-openssl
:libopenssl
))
563 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
564 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
565 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php5-mod-pdo
+PACKAGE_php5-mod-pdo-mysql
:libmysqlclient
))
566 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php5-mod-pdo
+PACKAGE_php5-mod-pdo-pgsql
:libpq
))
567 $(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
))
568 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php5-mod-pgsql
:libpq
))
569 $(eval
$(call BuildModule
,session
,Session
))
570 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
571 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP5_LIBXML
+PACKAGE_php5-mod-simplexml
:libxml2
))
572 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP5_LIBXML
+PACKAGE_php5-mod-soap
:libxml2
))
573 $(eval
$(call BuildModule
,sockets
,Sockets
))
574 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php5-mod-sqlite3
:libsqlite3
))
575 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
576 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
577 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
578 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
579 $(eval
$(call BuildModule
,xml
,XML
,+PHP5_LIBXML
:libxml2
+!PHP5_LIBXML
:libexpat
))
580 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP5_LIBXML
+PACKAGE_php5-mod-xmlreader
:libxml2
))
581 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP5_LIBXML
+PACKAGE_php5-mod-xmlwriter
:libxml2
))
582 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php5-mod-zip
:zlib
))