2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PKG_MAINTAINER
:=Michael Heimpold
<mhei@heimpold.de
>
15 PKG_LICENSE_FILES
:=LICENSE
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
18 PKG_SOURCE_URL
:=http
://www.php.net
/distributions
/
19 PKG_MD5SUM
:=a74c13f8779349872b365e6732e8c98e
20 PKG_HASH
:=71514386adf3e963df087c2044a0b3747900b8b1fc8da3a99f0a0ae9180d300b
22 PKG_FIXUP
:=libtool autoreconf
37 mbstring mcrypt mysqli \
39 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql phar \
40 session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
42 xml xmlreader xmlwriter zip \
44 PKG_CONFIG_DEPENDS
:= \
45 $(patsubst %,CONFIG_PACKAGE_php7-mod-
%,$(PHP7_MODULES
)) \
46 CONFIG_PHP7_FILTER CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA
48 include $(INCLUDE_DIR
)/package.mk
49 include $(INCLUDE_DIR
)/nls.mk
51 define Package
/php7
/Default
55 TITLE
:=PHP7 Hypertext preprocessor
56 URL
:=http
://www.php.net
/
60 define Package
/php7
/Default
/description
61 PHP is a widely-used general-purpose scripting language that is especially
62 suited for Web development and can be embedded into HTML.
65 define Package
/php7
/config
67 bool
"PHP7 Filter support"
68 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
72 bool
"PHP7 LIBXML support"
73 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
75 config PHP7_SYSTEMTZDATA
76 bool
"Use system timezone data instead of php's built-in database"
77 depends on PACKAGE_php7-cli || PACKAGE_php7-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
/php7
/Default
)
89 DEPENDS
:=+libpcre
+zlib \
93 define Package
/php7
/description
94 $(call Package
/php7
/Default
/description
)
95 This package contains only the PHP config file. You must actually choose
96 your PHP flavour
(cli
, cgi or fastcgi
).
98 Please note
, that installing php5 and php7 in parallel on the same target
99 is not supported in OpenWrt
/LEDE.
102 define Package
/php7-cli
103 $(call Package
/php7
/Default
)
104 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
108 define Package
/php7-cli
/description
109 $(call Package
/php7
/Default
/description
)
110 This package contains the CLI version of the PHP7 interpreter.
113 define Package
/php7-cgi
114 $(call Package
/php7
/Default
)
115 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
116 TITLE
+= (CGI
& FastCGI
)
119 define Package
/php7-cgi
/description
120 $(call Package
/php7
/Default
/description
)
121 This package contains the CGI version of the PHP7 interpreter.
124 define Package
/php7-fastcgi
125 $(call Package
/php7
/Default
)
127 TITLE
:=FastCGI startup script
130 define Package
/php7-fastcgi
/description
131 As FastCGI support is now a core feature the php7-fastcgi package now depends
132 on the php7-cgi package
, containing just the startup script.
135 define Package
/php7-fpm
136 $(call Package
/php7
/Default
)
141 define Package
/php7-fpm
/description
142 $(call Package
/php7
/Default
/description
)
143 This package contains the FastCGI Process Manager of the PHP7 interpreter.
146 # not everything groks --disable-nls
160 --with-config-file-path
=/etc \
161 --with-config-file-scan-dir
=/etc
/php7 \
162 --disable-short-tags \
164 --with-zlib
="$(STAGING_DIR)/usr" \
165 --with-zlib-dir
="$(STAGING_DIR)/usr"
167 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-calendar
),)
168 CONFIGURE_ARGS
+= --enable-calendar
=shared
170 CONFIGURE_ARGS
+= --disable-calendar
173 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ctype
),)
174 CONFIGURE_ARGS
+= --enable-ctype
=shared
176 CONFIGURE_ARGS
+= --disable-ctype
179 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-curl
),)
180 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
182 CONFIGURE_ARGS
+= --without-curl
185 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-fileinfo
),)
186 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
188 CONFIGURE_ARGS
+= --disable-fileinfo
191 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gettext
),)
192 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
194 CONFIGURE_ARGS
+= --without-gettext
197 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-dom
),)
198 CONFIGURE_ARGS
+= --enable-dom
=shared
200 CONFIGURE_ARGS
+= --disable-dom
203 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-exif
),)
204 CONFIGURE_ARGS
+= --enable-exif
=shared
206 CONFIGURE_ARGS
+= --disable-exif
209 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ftp
),)
210 CONFIGURE_ARGS
+= --enable-ftp
=shared
212 CONFIGURE_ARGS
+= --disable-ftp
215 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gd
),)
218 --without-freetype-dir \
219 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
220 --with-png-dir
="$(STAGING_DIR)/usr" \
222 --enable-gd-native-ttf \
223 --disable-gd-jis-conv
225 CONFIGURE_ARGS
+= --without-gd
228 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gmp
),)
229 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
231 CONFIGURE_ARGS
+= --without-gmp
234 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-hash
),)
235 CONFIGURE_ARGS
+= --enable-hash
=shared
237 CONFIGURE_ARGS
+= --disable-hash
240 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-iconv
),)
241 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
243 CONFIGURE_ARGS
+= --without-iconv
246 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-intl
),)
247 CONFIGURE_ARGS
+= --enable-intl
=shared
249 CONFIGURE_ARGS
+= --disable-intl
252 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-json
),)
253 CONFIGURE_ARGS
+= --enable-json
=shared
255 CONFIGURE_ARGS
+= --disable-json
258 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ldap
),)
260 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
261 --with-ldap-sasl
="$(STAGING_DIR)/usr"
263 CONFIGURE_ARGS
+= --without-ldap
266 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mbstring
),)
267 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
269 CONFIGURE_ARGS
+= --disable-mbstring
272 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mcrypt
),)
273 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
275 CONFIGURE_ARGS
+= --without-mcrypt
278 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mysqli
),)
279 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
281 CONFIGURE_ARGS
+= --without-mysqli
284 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-opcache
),)
285 CONFIGURE_ARGS
+= --enable-opcache
=shared
287 CONFIGURE_ARGS
+= --disable-opcache
290 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-openssl
),)
292 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
294 --with-openssl-dir
="$(STAGING_DIR)/usr"
296 CONFIGURE_ARGS
+= --without-openssl
299 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pcntl
),)
300 CONFIGURE_ARGS
+= --enable-pcntl
=shared
302 CONFIGURE_ARGS
+= --disable-pcntl
305 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo
),)
306 CONFIGURE_ARGS
+= --enable-pdo
=shared
307 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-mysql
),)
308 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
,"$(STAGING_DIR)/usr"
310 CONFIGURE_ARGS
+= --without-pdo-mysql
312 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-pgsql
),)
313 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
315 CONFIGURE_ARGS
+= --without-pdo-pgsql
317 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-sqlite
),)
318 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
320 CONFIGURE_ARGS
+= --without-pdo-sqlite
323 CONFIGURE_ARGS
+= --disable-pdo
326 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pgsql
),)
327 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
329 CONFIGURE_ARGS
+= --without-pgsql
332 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-phar
),)
333 CONFIGURE_ARGS
+= --enable-phar
=shared
335 CONFIGURE_ARGS
+= --disable-phar
338 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-session
),)
339 CONFIGURE_ARGS
+= --enable-session
=shared
341 CONFIGURE_ARGS
+= --disable-session
344 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-shmop
),)
345 CONFIGURE_ARGS
+= --enable-shmop
=shared
347 CONFIGURE_ARGS
+= --disable-shmop
350 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-simplexml
),)
351 CONFIGURE_ARGS
+= --enable-simplexml
=shared
353 CONFIGURE_ARGS
+= --disable-simplexml
356 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-soap
),)
357 CONFIGURE_ARGS
+= --enable-soap
=shared
359 CONFIGURE_ARGS
+= --disable-soap
362 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sockets
),)
363 CONFIGURE_ARGS
+= --enable-sockets
=shared
365 CONFIGURE_ARGS
+= --disable-sockets
368 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sqlite3
),)
369 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
371 CONFIGURE_ARGS
+= --without-sqlite3
374 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvmsg
),)
375 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
377 CONFIGURE_ARGS
+= --disable-sysvmsg
380 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvsem
),)
381 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
383 CONFIGURE_ARGS
+= --disable-sysvsem
386 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvshm
),)
387 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
389 CONFIGURE_ARGS
+= --disable-sysvshm
392 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-tokenizer
),)
393 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
395 CONFIGURE_ARGS
+= --disable-tokenizer
398 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xml
),)
399 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
400 ifneq ($(CONFIG_PHP7_LIBXML
),)
401 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
403 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
406 CONFIGURE_ARGS
+= --disable-xml
409 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlreader
),)
410 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
412 CONFIGURE_ARGS
+= --disable-xmlreader
415 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlwriter
),)
416 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
418 CONFIGURE_ARGS
+= --disable-xmlwriter
421 ifneq ($(CONFIG_PACKAGE_php7-mod-zip
),)
422 CONFIGURE_ARGS
+= --enable-zip
=shared
424 CONFIGURE_ARGS
+= --disable-zip
427 ifneq ($(SDK
)$(CONFIG_PHP7_FILTER
),)
428 CONFIGURE_ARGS
+= --enable-filter
430 CONFIGURE_ARGS
+= --disable-filter
433 ifneq ($(SDK
)$(CONFIG_PHP7_LIBXML
),)
434 CONFIGURE_ARGS
+= --enable-libxml
435 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
437 CONFIGURE_ARGS
+= --disable-libxml
440 #ifneq ($(CONFIG_PHP7_SYSTEMTZDATA),)
441 # CONFIGURE_ARGS+= --with-system-tzdata
443 # CONFIGURE_ARGS+= --without-system-tzdata
447 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
448 php_cv_cc_rpath
="no" \
449 iconv_impl_name
="gnu_libiconv" \
450 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
452 define Package
/php7
/conffiles
456 define Package
/php7
/install
457 $(INSTALL_DIR
) $(1)/etc
458 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
461 define Package
/php7-cli
/install
462 $(INSTALL_DIR
) $(1)/usr
/bin
463 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
466 define Package
/php7-cgi
/install
467 $(INSTALL_DIR
) $(1)/usr
/bin
468 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
469 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
472 define Package
/php7-fastcgi
/install
473 $(INSTALL_DIR
) $(1)/etc
/config
474 $(INSTALL_DATA
) .
/files
/php7-fastcgi.config
$(1)/etc
/config
/php7-fastcgi
476 $(INSTALL_DIR
) $(1)/etc
/init.d
477 $(INSTALL_BIN
) .
/files
/php7-fastcgi.init
$(1)/etc
/init.d
/php7-fastcgi
480 define Package
/php7-fpm
/install
481 $(INSTALL_DIR
) $(1)/usr
/bin
482 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php-fpm
484 $(INSTALL_DIR
) $(1)/etc
485 $(INSTALL_DATA
) .
/files
/php7-fpm.conf
$(1)/etc
/php7-fpm.conf
487 $(INSTALL_DIR
) $(1)/etc
/config
488 $(INSTALL_DATA
) .
/files
/php7-fpm.config
$(1)/etc
/config
/php7-fpm
490 $(INSTALL_DIR
) $(1)/etc
/php7-fpm.d
491 $(INSTALL_DATA
) .
/files
/php7-fpm-www.conf
$(1)/etc
/php7-fpm.d
/www.conf
493 $(INSTALL_DIR
) $(1)/etc
/init.d
494 $(INSTALL_BIN
) .
/files
/php7-fpm.init
$(1)/etc
/init.d
/php7-fpm
498 $(call Build
/Prepare
/Default
)
499 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
502 define Build
/InstallDev
503 rm -rf
$(PKG_BUILD_DIR
)/staging
504 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
505 rm -rf
$(PKG_BUILD_DIR
)/staging
/usr
/{share
,man
,sbin
}
506 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/{php
,php-cgi
,php-cli
}
507 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize7
508 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php-config
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php7-config
509 mv
$(PKG_BUILD_DIR
)/staging
/usr
/include/php
$(PKG_BUILD_DIR
)/staging
/usr
/include/php7
510 mv
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php7
512 $(CP
) $(PKG_BUILD_DIR
)/staging
/usr
$(STAGING_DIR
)/
514 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
515 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
516 sed
-i
-e
"s#/include\`/php\"#/include\`/php7\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
517 sed
-i
-e
"s#/lib/php\`/build\"#/lib/php7\`/build\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
519 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
520 sed
-i
-e
"s#/include/php\"#/include/php7\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
525 define Package
/php7-mod-
$(1)
526 $(call Package
/php7
/Default
)
532 TITLE
:=$(2) shared module
535 define Package
/php7-mod-
$(1)/install
536 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
537 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
538 $(INSTALL_DIR
) $$(1)/etc
/php7
540 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
542 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
546 $$(eval
$$(call BuildPackage
,php7-mod-
$(1)))
550 $(eval
$(call BuildPackage
,php7
))
551 $(eval
$(call BuildPackage
,php7-cgi
))
552 $(eval
$(call BuildPackage
,php7-cli
))
553 $(eval
$(call BuildPackage
,php7-fastcgi
))
554 $(eval
$(call BuildPackage
,php7-fpm
))
556 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
557 $(eval
$(call BuildModule
,calendar
,Calendar
))
558 $(eval
$(call BuildModule
,ctype
,Ctype
))
559 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php7-mod-curl
:libcurl
))
560 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP7_LIBXML
+PACKAGE_php7-mod-dom
:libxml2
))
561 $(eval
$(call BuildModule
,exif
,EXIF
))
562 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
563 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php7-mod-ftp
:libopenssl
))
564 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php7-mod-gd
:libjpeg
+PACKAGE_php7-mod-gd
:libpng
))
565 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php7-mod-gettext
:libintl-full
))
566 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php7-mod-gmp
:libgmp
))
567 $(eval
$(call BuildModule
,hash
,Hash
))
568 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
569 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php7-mod-intl
:icu
))
570 $(eval
$(call BuildModule
,json
,JSON
))
571 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php7-mod-ldap
:libopenldap
+PACKAGE_php7-mod-ldap
:libsasl2
))
572 $(eval
$(call BuildModule
,mbstring
,MBString
))
573 $(eval
$(call BuildModule
,mcrypt
,Mcrypt
,+PACKAGE_php7-mod-mcrypt
:libmcrypt
+PACKAGE_php7-mod-mcrypt
:libltdl
))
574 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php7-mod-mysqli
:libmysqlclient
))
575 $(eval
$(call BuildModule
,opcache
,OPcache
,,,zend
))
576 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php7-mod-openssl
:libopenssl
))
577 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
578 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
579 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-mysql
:libmysqlclient
))
580 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-pgsql
:libpq
))
581 $(eval
$(call BuildModule
,pdo-sqlite
,PDO driver for SQLite
3.x
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-sqlite
:libsqlite3
+PACKAGE_php7-mod-pdo-sqlite
:librt
))
582 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php7-mod-pgsql
:libpq
))
583 $(eval
$(call BuildModule
,phar
,Phar Archives
,+php7-mod-hash
))
584 $(eval
$(call BuildModule
,session
,Session
))
585 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
586 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP7_LIBXML
+PACKAGE_php7-mod-simplexml
:libxml2
))
587 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP7_LIBXML
+PACKAGE_php7-mod-soap
:libxml2
))
588 $(eval
$(call BuildModule
,sockets
,Sockets
))
589 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php7-mod-sqlite3
:libsqlite3
))
590 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
591 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
592 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
593 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
594 $(eval
$(call BuildModule
,xml
,XML
,+PHP7_LIBXML
:libxml2
+!PHP7_LIBXML
:libexpat
))
595 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlreader
:libxml2
))
596 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlwriter
:libxml2
))
597 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php7-mod-zip
:zlib
))