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
:=6f087f16514b6c442e8009a5828827b7
21 PKG_FIXUP
:=libtool autoreconf
36 mbstring mcrypt mysqli \
38 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
39 session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \
41 xml xmlreader xmlwriter zip \
43 PKG_CONFIG_DEPENDS
:= \
44 $(patsubst %,CONFIG_PACKAGE_php7-mod-
%,$(PHP7_MODULES
)) \
45 CONFIG_PHP7_FILTER CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA
47 include $(INCLUDE_DIR
)/package.mk
48 include $(INCLUDE_DIR
)/nls.mk
50 define Package
/php7
/Default
54 TITLE
:=PHP7 Hypertext preprocessor
55 URL
:=http
://www.php.net
/
59 define Package
/php7
/Default
/description
60 PHP is a widely-used general-purpose scripting language that is especially
61 suited for Web development and can be embedded into HTML.
64 define Package
/php7
/config
66 bool
"PHP7 Filter support"
67 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
70 bool
"PHP7 LIBXML support"
71 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
73 config PHP7_SYSTEMTZDATA
74 bool
"Use system timezone data instead of php's built-in database"
75 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
76 select PACKAGE_zoneinfo-core
79 Enabling this feature automatically selects the zoneinfo-core package
80 which contains data for UTC timezone. To use other timezones you have
81 to
install the corresponding zoneinfo-... package
(s
).
85 $(call Package
/php7
/Default
)
87 DEPENDS
:=+libpcre
+zlib \
91 define Package
/php7
/description
92 $(call Package
/php7
/Default
/description
)
93 This package contains only the PHP config file. You must actually choose
94 your PHP flavour
(cli
, cgi or fastcgi
).
96 Please note
, that installing php5 and php7 in parallel on the same target
97 is not supported in OpenWrt
/LEDE.
100 define Package
/php7-cli
101 $(call Package
/php7
/Default
)
102 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
106 define Package
/php7-cli
/description
107 $(call Package
/php7
/Default
/description
)
108 This package contains the CLI version of the PHP7 interpreter.
111 define Package
/php7-cgi
112 $(call Package
/php7
/Default
)
113 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
114 TITLE
+= (CGI
& FastCGI
)
117 define Package
/php7-cgi
/description
118 $(call Package
/php7
/Default
/description
)
119 This package contains the CGI version of the PHP7 interpreter.
122 define Package
/php7-fastcgi
123 $(call Package
/php7
/Default
)
125 TITLE
:=FastCGI startup script
128 define Package
/php7-fastcgi
/description
129 As FastCGI support is now a core feature the php7-fastcgi package now depends
130 on the php7-cgi package
, containing just the startup script.
133 define Package
/php7-fpm
134 $(call Package
/php7
/Default
)
139 define Package
/php7-fpm
/description
140 $(call Package
/php7
/Default
/description
)
141 This package contains the FastCGI Process Manager of the PHP7 interpreter.
155 --with-config-file-path
=/etc \
156 --with-config-file-scan-dir
=/etc
/php7 \
157 --disable-short-tags \
159 --with-zlib
="$(STAGING_DIR)/usr" \
160 --with-zlib-dir
="$(STAGING_DIR)/usr" \
163 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-calendar
),)
164 CONFIGURE_ARGS
+= --enable-calendar
=shared
166 CONFIGURE_ARGS
+= --disable-calendar
169 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ctype
),)
170 CONFIGURE_ARGS
+= --enable-ctype
=shared
172 CONFIGURE_ARGS
+= --disable-ctype
175 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-curl
),)
176 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
178 CONFIGURE_ARGS
+= --without-curl
181 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-fileinfo
),)
182 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
184 CONFIGURE_ARGS
+= --disable-fileinfo
187 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gettext
),)
188 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
190 CONFIGURE_ARGS
+= --without-gettext
193 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-dom
),)
194 CONFIGURE_ARGS
+= --enable-dom
=shared
196 CONFIGURE_ARGS
+= --disable-dom
199 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-exif
),)
200 CONFIGURE_ARGS
+= --enable-exif
=shared
202 CONFIGURE_ARGS
+= --disable-exif
205 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ftp
),)
206 CONFIGURE_ARGS
+= --enable-ftp
=shared
208 CONFIGURE_ARGS
+= --disable-ftp
211 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gd
),)
214 --without-freetype-dir \
215 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
216 --with-png-dir
="$(STAGING_DIR)/usr" \
219 --enable-gd-native-ttf \
220 --disable-gd-jis-conv
222 CONFIGURE_ARGS
+= --without-gd
225 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gmp
),)
226 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
228 CONFIGURE_ARGS
+= --without-gmp
231 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-hash
),)
232 CONFIGURE_ARGS
+= --enable-hash
=shared
234 CONFIGURE_ARGS
+= --disable-hash
237 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-iconv
),)
238 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
240 CONFIGURE_ARGS
+= --without-iconv
243 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-intl
),)
244 CONFIGURE_ARGS
+= --enable-intl
=shared
246 CONFIGURE_ARGS
+= --disable-intl
249 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-json
),)
250 CONFIGURE_ARGS
+= --enable-json
=shared
252 CONFIGURE_ARGS
+= --disable-json
255 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ldap
),)
257 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
258 --with-ldap-sasl
="$(STAGING_DIR)/usr"
260 CONFIGURE_ARGS
+= --without-ldap
263 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mbstring
),)
264 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
266 CONFIGURE_ARGS
+= --disable-mbstring
269 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mcrypt
),)
270 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
272 CONFIGURE_ARGS
+= --without-mcrypt
275 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mysqli
),)
276 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
278 CONFIGURE_ARGS
+= --without-mysqli
281 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-opcache
),)
282 CONFIGURE_ARGS
+= --enable-opcache
=shared
284 CONFIGURE_ARGS
+= --disable-opcache
287 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-openssl
),)
289 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
291 --with-openssl-dir
="$(STAGING_DIR)/usr"
293 CONFIGURE_ARGS
+= --without-openssl
296 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pcntl
),)
297 CONFIGURE_ARGS
+= --enable-pcntl
=shared
299 CONFIGURE_ARGS
+= --disable-pcntl
302 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo
),)
303 CONFIGURE_ARGS
+= --enable-pdo
=shared
304 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-mysql
),)
305 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
,"$(STAGING_DIR)/usr"
307 CONFIGURE_ARGS
+= --without-pdo-mysql
309 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-pgsql
),)
310 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
312 CONFIGURE_ARGS
+= --without-pdo-pgsql
314 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-sqlite
),)
315 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
317 CONFIGURE_ARGS
+= --without-pdo-sqlite
320 CONFIGURE_ARGS
+= --disable-pdo
323 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pgsql
),)
324 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
326 CONFIGURE_ARGS
+= --without-pgsql
329 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-session
),)
330 CONFIGURE_ARGS
+= --enable-session
=shared
332 CONFIGURE_ARGS
+= --disable-session
335 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-shmop
),)
336 CONFIGURE_ARGS
+= --enable-shmop
=shared
338 CONFIGURE_ARGS
+= --disable-shmop
341 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-simplexml
),)
342 CONFIGURE_ARGS
+= --enable-simplexml
=shared
344 CONFIGURE_ARGS
+= --disable-simplexml
347 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-soap
),)
348 CONFIGURE_ARGS
+= --enable-soap
=shared
350 CONFIGURE_ARGS
+= --disable-soap
353 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sockets
),)
354 CONFIGURE_ARGS
+= --enable-sockets
=shared
356 CONFIGURE_ARGS
+= --disable-sockets
359 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sqlite3
),)
360 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
362 CONFIGURE_ARGS
+= --without-sqlite3
365 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvmsg
),)
366 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
368 CONFIGURE_ARGS
+= --disable-sysvmsg
371 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvsem
),)
372 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
374 CONFIGURE_ARGS
+= --disable-sysvsem
377 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvshm
),)
378 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
380 CONFIGURE_ARGS
+= --disable-sysvshm
383 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-tokenizer
),)
384 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
386 CONFIGURE_ARGS
+= --disable-tokenizer
389 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xml
),)
390 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
391 ifneq ($(CONFIG_PHP7_LIBXML
),)
392 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
394 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
397 CONFIGURE_ARGS
+= --disable-xml
400 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlreader
),)
401 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
403 CONFIGURE_ARGS
+= --disable-xmlreader
406 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlwriter
),)
407 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
409 CONFIGURE_ARGS
+= --disable-xmlwriter
412 ifneq ($(CONFIG_PACKAGE_php7-mod-zip
),)
413 CONFIGURE_ARGS
+= --enable-zip
=shared
415 CONFIGURE_ARGS
+= --disable-zip
418 ifneq ($(SDK
)$(CONFIG_PHP7_FILTER
),)
419 CONFIGURE_ARGS
+= --enable-filter
421 CONFIGURE_ARGS
+= --disable-filter
424 ifneq ($(SDK
)$(CONFIG_PHP7_LIBXML
),)
425 CONFIGURE_ARGS
+= --enable-libxml
426 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
428 CONFIGURE_ARGS
+= --disable-libxml
431 #ifneq ($(CONFIG_PHP7_SYSTEMTZDATA),)
432 # CONFIGURE_ARGS+= --with-system-tzdata
434 # CONFIGURE_ARGS+= --without-system-tzdata
438 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
439 php_cv_cc_rpath
="no" \
440 iconv_impl_name
="gnu_libiconv" \
441 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
443 define Package
/php7
/conffiles
447 define Package
/php7
/install
448 $(INSTALL_DIR
) $(1)/etc
449 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
452 define Package
/php7-cli
/install
453 $(INSTALL_DIR
) $(1)/usr
/bin
454 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
457 define Package
/php7-cgi
/install
458 $(INSTALL_DIR
) $(1)/usr
/bin
459 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
460 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
463 define Package
/php7-fastcgi
/install
464 $(INSTALL_DIR
) $(1)/etc
/config
465 $(INSTALL_DATA
) .
/files
/php7-fastcgi.config
$(1)/etc
/config
/php7-fastcgi
467 $(INSTALL_DIR
) $(1)/etc
/init.d
468 $(INSTALL_BIN
) .
/files
/php7-fastcgi.init
$(1)/etc
/init.d
/php7-fastcgi
471 define Package
/php7-fpm
/install
472 $(INSTALL_DIR
) $(1)/usr
/bin
473 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php-fpm
475 $(INSTALL_DIR
) $(1)/etc
476 $(INSTALL_DATA
) .
/files
/php7-fpm.conf
$(1)/etc
/php7-fpm.conf
478 $(INSTALL_DIR
) $(1)/etc
/config
479 $(INSTALL_DATA
) .
/files
/php7-fpm.config
$(1)/etc
/config
/php7-fpm
481 $(INSTALL_DIR
) $(1)/etc
/php7-fpm.d
482 $(INSTALL_DATA
) .
/files
/php7-fpm-www.conf
$(1)/etc
/php7-fpm.d
/www.conf
484 $(INSTALL_DIR
) $(1)/etc
/init.d
485 $(INSTALL_BIN
) .
/files
/php7-fpm.init
$(1)/etc
/init.d
/php7-fpm
489 $(call Build
/Prepare
/Default
)
490 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
493 define Build
/InstallDev
494 rm -rf
$(PKG_BUILD_DIR
)/staging
495 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
496 rm -rf
$(PKG_BUILD_DIR
)/staging
/usr
/{share
,man
,sbin
}
497 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/{php
,php-cgi
,php-cli
}
498 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize7
499 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php-config
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php7-config
500 mv
$(PKG_BUILD_DIR
)/staging
/usr
/include/php
$(PKG_BUILD_DIR
)/staging
/usr
/include/php7
501 mv
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php7
503 $(CP
) $(PKG_BUILD_DIR
)/staging
/usr
$(STAGING_DIR
)/
505 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
506 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
507 sed
-i
-e
"s#/include\`/php\"#/include\`/php7\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
508 sed
-i
-e
"s#/lib/php\`/build\"#/lib/php7\`/build\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
510 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
511 sed
-i
-e
"s#/include/php\"#/include/php7\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
516 define Package
/php7-mod-
$(1)
517 $(call Package
/php7
/Default
)
523 TITLE
:=$(2) shared module
526 define Package
/php7-mod-
$(1)/install
527 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
528 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
529 $(INSTALL_DIR
) $$(1)/etc
/php7
531 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(subst -,_
,$(1)).ini
533 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(subst -,_
,$(1)).ini
537 $$(eval
$$(call BuildPackage
,php7-mod-
$(1)))
541 $(eval
$(call BuildPackage
,php7
))
542 $(eval
$(call BuildPackage
,php7-cgi
))
543 $(eval
$(call BuildPackage
,php7-cli
))
544 $(eval
$(call BuildPackage
,php7-fastcgi
))
545 $(eval
$(call BuildPackage
,php7-fpm
))
547 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
548 $(eval
$(call BuildModule
,calendar
,Calendar
))
549 $(eval
$(call BuildModule
,ctype
,Ctype
))
550 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php7-mod-curl
:libcurl
))
551 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP7_LIBXML
+PACKAGE_php7-mod-dom
:libxml2
))
552 $(eval
$(call BuildModule
,exif
,EXIF
))
553 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
554 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php7-mod-ftp
:libopenssl
))
555 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php7-mod-gd
:libjpeg
+PACKAGE_php7-mod-gd
:libpng
))
556 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php7-mod-gettext
:libintl-full
))
557 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php7-mod-gmp
:libgmp
))
558 $(eval
$(call BuildModule
,hash
,Hash
))
559 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
560 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php7-mod-intl
:icu
))
561 $(eval
$(call BuildModule
,json
,JSON
))
562 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php7-mod-ldap
:libopenldap
+PACKAGE_php7-mod-ldap
:libsasl2
))
563 $(eval
$(call BuildModule
,mbstring
,MBString
))
564 $(eval
$(call BuildModule
,mcrypt
,Mcrypt
,+PACKAGE_php7-mod-mcrypt
:libmcrypt
+PACKAGE_php7-mod-mcrypt
:libltdl
))
565 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php7-mod-mysqli
:libmysqlclient
))
566 $(eval
$(call BuildModule
,opcache
,OPcache
,,zend
))
567 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php7-mod-openssl
:libopenssl
))
568 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
569 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
570 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-mysql
:libmysqlclient
))
571 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-pgsql
:libpq
))
572 $(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
))
573 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php7-mod-pgsql
:libpq
))
574 $(eval
$(call BuildModule
,session
,Session
))
575 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
576 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP7_LIBXML
+PACKAGE_php7-mod-simplexml
:libxml2
))
577 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP7_LIBXML
+PACKAGE_php7-mod-soap
:libxml2
))
578 $(eval
$(call BuildModule
,sockets
,Sockets
))
579 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php7-mod-sqlite3
:libsqlite3
))
580 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
581 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
582 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
583 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
584 $(eval
$(call BuildModule
,xml
,XML
,+PHP7_LIBXML
:libxml2
+!PHP7_LIBXML
:libexpat
))
585 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlreader
:libxml2
))
586 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlwriter
:libxml2
))
587 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php7-mod-zip
:zlib
))