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
>
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
:=b198117ee1d44c8143e030cee15f1b52
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
/
58 MAINTAINER
:=Michael Heimpold
<mhei@heimpold.de
>
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.
67 define Package
/php5
/config
69 bool
"PHP5 Filter support"
70 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
73 bool
"PHP5 LIBXML support"
74 depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
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
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
).
88 $(call Package
/php5
/Default
)
90 DEPENDS
:=+libpcre
+zlib \
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
).
100 define Package
/php5-cli
101 $(call Package
/php5
/Default
)
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 TITLE
+= (CGI
& FastCGI
)
115 define Package
/php5-cgi
/description
116 $(call Package
/php5
/Default
/description
)
117 This package contains the CGI version of the PHP5 interpreter.
120 define Package
/php5-fastcgi
121 $(call Package
/php5
/Default
)
123 TITLE
:=FastCGI startup script
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.
131 define Package
/php5-fpm
132 $(call Package
/php5
/Default
)
137 define Package
/php5-fpm
/description
138 $(call Package
/php5
/Default
/description
)
139 This package contains the FastCGI Process Manager of the PHP5 interpreter.
152 --with-config-file-path
=/etc \
153 --with-config-file-scan-dir
=/etc
/php5 \
154 --disable-short-tags \
156 --with-zlib
="$(STAGING_DIR)/usr" \
157 --with-zlib-dir
="$(STAGING_DIR)/usr" \
158 --with-pcre-regex
="$(STAGING_DIR)/usr" \
161 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-calendar
),)
162 CONFIGURE_ARGS
+= --enable-calendar
=shared
164 CONFIGURE_ARGS
+= --disable-calendar
167 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ctype
),)
168 CONFIGURE_ARGS
+= --enable-ctype
=shared
170 CONFIGURE_ARGS
+= --disable-ctype
173 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-curl
),)
174 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
176 CONFIGURE_ARGS
+= --without-curl
179 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-fileinfo
),)
180 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
182 CONFIGURE_ARGS
+= --disable-fileinfo
185 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gettext
),)
186 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
188 CONFIGURE_ARGS
+= --without-gettext
191 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-dom
),)
192 CONFIGURE_ARGS
+= --enable-dom
=shared
194 CONFIGURE_ARGS
+= --disable-dom
197 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-exif
),)
198 CONFIGURE_ARGS
+= --enable-exif
=shared
200 CONFIGURE_ARGS
+= --disable-exif
203 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ftp
),)
204 CONFIGURE_ARGS
+= --enable-ftp
=shared
206 CONFIGURE_ARGS
+= --disable-ftp
209 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gd
),)
212 --without-freetype-dir \
213 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
214 --with-png-dir
="$(STAGING_DIR)/usr" \
217 --enable-gd-native-ttf \
218 --disable-gd-jis-conv
220 CONFIGURE_ARGS
+= --without-gd
223 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-gmp
),)
224 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
226 CONFIGURE_ARGS
+= --without-gmp
229 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-hash
),)
230 CONFIGURE_ARGS
+= --enable-hash
=shared
232 CONFIGURE_ARGS
+= --disable-hash
235 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-iconv
),)
236 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
238 CONFIGURE_ARGS
+= --without-iconv
241 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-json
),)
242 CONFIGURE_ARGS
+= --enable-json
=shared
244 CONFIGURE_ARGS
+= --disable-json
247 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-ldap
),)
249 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
250 --with-ldap-sasl
="$(STAGING_DIR)/usr"
252 CONFIGURE_ARGS
+= --without-ldap
255 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mbstring
),)
256 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
258 CONFIGURE_ARGS
+= --disable-mbstring
261 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mcrypt
),)
262 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
264 CONFIGURE_ARGS
+= --without-mcrypt
267 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysql
),)
268 CONFIGURE_ARGS
+= --with-mysql
=shared
,"$(STAGING_DIR)/usr"
270 CONFIGURE_ARGS
+= --without-mysql
273 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-mysqli
),)
274 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
276 CONFIGURE_ARGS
+= --without-mysqli
279 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-openssl
),)
281 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
283 --with-openssl-dir
="$(STAGING_DIR)/usr"
285 CONFIGURE_ARGS
+= --without-openssl
288 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pcntl
),)
289 CONFIGURE_ARGS
+= --enable-pcntl
=shared
291 CONFIGURE_ARGS
+= --disable-pcntl
294 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo
),)
295 CONFIGURE_ARGS
+= --enable-pdo
=shared
296 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-mysql
),)
297 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
,"$(STAGING_DIR)/usr"
299 CONFIGURE_ARGS
+= --without-pdo-mysql
301 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-pgsql
),)
302 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
304 CONFIGURE_ARGS
+= --without-pdo-pgsql
306 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite
),)
307 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
309 CONFIGURE_ARGS
+= --without-pdo-sqlite
312 CONFIGURE_ARGS
+= --disable-pdo
315 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-pgsql
),)
316 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
318 CONFIGURE_ARGS
+= --without-pgsql
321 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-session
),)
322 CONFIGURE_ARGS
+= --enable-session
=shared
324 CONFIGURE_ARGS
+= --disable-session
327 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-shmop
),)
328 CONFIGURE_ARGS
+= --enable-shmop
=shared
330 CONFIGURE_ARGS
+= --disable-shmop
333 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-simplexml
),)
334 CONFIGURE_ARGS
+= --enable-simplexml
=shared
336 CONFIGURE_ARGS
+= --disable-simplexml
339 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-soap
),)
340 CONFIGURE_ARGS
+= --enable-soap
=shared
342 CONFIGURE_ARGS
+= --disable-soap
345 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sockets
),)
346 CONFIGURE_ARGS
+= --enable-sockets
=shared
348 CONFIGURE_ARGS
+= --disable-sockets
351 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sqlite3
),)
352 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
354 CONFIGURE_ARGS
+= --without-sqlite3
357 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvmsg
),)
358 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
360 CONFIGURE_ARGS
+= --disable-sysvmsg
363 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvsem
),)
364 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
366 CONFIGURE_ARGS
+= --disable-sysvsem
369 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-sysvshm
),)
370 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
372 CONFIGURE_ARGS
+= --disable-sysvshm
375 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-tokenizer
),)
376 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
378 CONFIGURE_ARGS
+= --disable-tokenizer
381 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xml
),)
382 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
383 ifneq ($(CONFIG_PHP5_LIBXML
),)
384 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
386 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
389 CONFIGURE_ARGS
+= --disable-xml
392 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlreader
),)
393 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
395 CONFIGURE_ARGS
+= --disable-xmlreader
398 ifneq ($(SDK
)$(CONFIG_PACKAGE_php5-mod-xmlwriter
),)
399 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
401 CONFIGURE_ARGS
+= --disable-xmlwriter
404 ifneq ($(CONFIG_PACKAGE_php5-mod-zip
),)
405 CONFIGURE_ARGS
+= --enable-zip
=shared
407 CONFIGURE_ARGS
+= --disable-zip
410 ifneq ($(SDK
)$(CONFIG_PHP5_FILTER
),)
411 CONFIGURE_ARGS
+= --enable-filter
413 CONFIGURE_ARGS
+= --disable-filter
416 ifneq ($(SDK
)$(CONFIG_PHP5_LIBXML
),)
417 CONFIGURE_ARGS
+= --enable-libxml
418 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
420 CONFIGURE_ARGS
+= --disable-libxml
423 ifneq ($(CONFIG_PHP5_SYSTEMTZDATA
),)
424 CONFIGURE_ARGS
+= --with-system-tzdata
426 CONFIGURE_ARGS
+= --without-system-tzdata
430 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
431 php_cv_cc_rpath
="no" \
432 iconv_impl_name
="gnu_libiconv" \
433 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
435 define Package
/php5
/conffiles
439 define Package
/php5
/install
440 $(INSTALL_DIR
) $(1)/etc
441 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
444 define Package
/php5-cli
/install
445 $(INSTALL_DIR
) $(1)/usr
/bin
446 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
449 define Package
/php5-cgi
/install
450 $(INSTALL_DIR
) $(1)/usr
/bin
451 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
452 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
455 define Package
/php5-fastcgi
/install
456 $(INSTALL_DIR
) $(1)/etc
/config
457 $(INSTALL_DATA
) .
/files
/php5-fastcgi.config
$(1)/etc
/config
/php5-fastcgi
459 $(INSTALL_DIR
) $(1)/etc
/init.d
460 $(INSTALL_BIN
) .
/files
/php5-fastcgi.init
$(1)/etc
/init.d
/php5-fastcgi
463 define Package
/php5-fpm
/install
464 $(INSTALL_DIR
) $(1)/usr
/bin
465 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php-fpm
467 $(INSTALL_DIR
) $(1)/etc
468 $(INSTALL_DATA
) .
/files
/php5-fpm.conf
$(1)/etc
/php5-fpm.conf
470 $(INSTALL_DIR
) $(1)/etc
/config
471 $(INSTALL_DATA
) .
/files
/php5-fpm.config
$(1)/etc
/config
/php5-fpm
473 $(INSTALL_DIR
) $(1)/etc
/php5-fpm.d
474 $(INSTALL_DATA
) .
/files
/php5-fpm-www.conf
$(1)/etc
/php5-fpm.d
/www.conf
476 $(INSTALL_DIR
) $(1)/etc
/init.d
477 $(INSTALL_BIN
) .
/files
/php5-fpm.init
$(1)/etc
/init.d
/php5-fpm
481 $(call Build
/Prepare
/Default
)
482 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
485 define Build
/InstallDev
486 mkdir
-p
$(PKG_BUILD_DIR
)/staging
/usr
/bin
487 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
488 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php
489 $(CP
) $(PKG_BUILD_DIR
)/staging
/* $(STAGING_DIR_HOST
)
490 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST
)/usr
/bin
/phpize
491 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST
)/usr
/bin
/phpize
492 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR_HOST)/usr\"#" $(STAGING_DIR_HOST
)/usr
/bin
/php-config
497 define Package
/php5-mod-
$(1)
498 $(call Package
/php5
/Default
)
504 TITLE
:=$(2) shared module
507 define Package
/php5-mod-
$(1)/install
508 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
509 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
510 $(INSTALL_DIR
) $$(1)/etc
/php5
511 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php5
/$(subst -,_
,$(1)).ini
514 $$(eval
$$(call BuildPackage
,php5-mod-
$(1)))
518 $(eval
$(call BuildPackage
,php5
))
519 $(eval
$(call BuildPackage
,php5-cgi
))
520 $(eval
$(call BuildPackage
,php5-cli
))
521 $(eval
$(call BuildPackage
,php5-fastcgi
))
522 $(eval
$(call BuildPackage
,php5-fpm
))
524 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
525 $(eval
$(call BuildModule
,calendar
,Calendar
))
526 $(eval
$(call BuildModule
,ctype
,Ctype
))
527 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php5-mod-curl
:libcurl
))
528 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP5_LIBXML
+PACKAGE_php5-mod-dom
:libxml2
))
529 $(eval
$(call BuildModule
,exif
,EXIF
))
530 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
531 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php5-mod-ftp
:libopenssl
))
532 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php5-mod-gd
:libjpeg
+PACKAGE_php5-mod-gd
:libpng
))
533 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php5-mod-gettext
:libintl-full
))
534 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php5-mod-gmp
:libgmp
))
535 $(eval
$(call BuildModule
,hash
,Hash
))
536 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
537 $(eval
$(call BuildModule
,json
,JSON
))
538 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php5-mod-ldap
:libopenldap
+PACKAGE_php5-mod-ldap
:libsasl2
))
539 $(eval
$(call BuildModule
,mbstring
,MBString
))
540 $(eval
$(call BuildModule
,mcrypt
,Mcrypt
,+PACKAGE_php5-mod-mcrypt
:libmcrypt
+PACKAGE_php5-mod-mcrypt
:libltdl
))
541 $(eval
$(call BuildModule
,mysql
,MySQL
,+PACKAGE_php5-mod-mysql
:libmysqlclient
))
542 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php5-mod-mysqli
:libmysqlclient
))
543 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php5-mod-openssl
:libopenssl
))
544 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
545 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
546 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php5-mod-pdo
+PACKAGE_php5-mod-pdo-mysql
:libmysqlclient
))
547 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php5-mod-pdo
+PACKAGE_php5-mod-pdo-pgsql
:libpq
))
548 $(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
))
549 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php5-mod-pgsql
:libpq
))
550 $(eval
$(call BuildModule
,session
,Session
))
551 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
552 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP5_LIBXML
+PACKAGE_php5-mod-simplexml
:libxml2
))
553 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP5_LIBXML
+PACKAGE_php5-mod-soap
:libxml2
))
554 $(eval
$(call BuildModule
,sockets
,Sockets
))
555 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php5-mod-sqlite3
:libsqlite3
))
556 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
557 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
558 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
559 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
560 $(eval
$(call BuildModule
,xml
,XML
,+PHP5_LIBXML
:libxml2
+!PHP5_LIBXML
:libexpat
))
561 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP5_LIBXML
+PACKAGE_php5-mod-xmlreader
:libxml2
))
562 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP5_LIBXML
+PACKAGE_php5-mod-xmlwriter
:libxml2
))
563 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php5-mod-zip
:zlib
))