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
>
14 PKG_LICENSE_FILES
:=LICENSE
15 PKG_CPE_ID
:=cpe
:/a
:php
:php
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
18 PKG_SOURCE_URL
:=http
://www.php.net
/distributions
/
19 PKG_HASH
:=8e078cd7d2f49ac3fcff902490a5bb1addc885e7e3b0d8dd068f42c68297bde8
34 mbstring mysqli mysqlnd \
36 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql phar \
37 session shmop simplexml snmp soap sockets sqlite3 sysvmsg sysvsem sysvshm \
39 xml xmlreader xmlwriter \
42 PKG_CONFIG_DEPENDS
:= \
43 $(patsubst %,CONFIG_PACKAGE_php7-mod-
%,$(PHP7_MODULES
)) \
44 CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA
46 include $(INCLUDE_DIR
)/package.mk
47 include $(INCLUDE_DIR
)/nls.mk
49 define Package
/php7
/Default
53 TITLE
:=PHP7 Hypertext preprocessor
54 URL
:=http
://www.php.net
/
58 define Package
/php7
/Default
/description
59 PHP is a widely-used general-purpose scripting language that is especially
60 suited for Web development and can be embedded into HTML.
63 define Package
/php7
/config
65 bool
"PHP7 LIBXML support"
66 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
68 config PHP7_SYSTEMTZDATA
69 bool
"Use system timezone data instead of php's built-in database"
70 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
73 Enabling this feature automatically selects the zoneinfo-core package
74 which contains data for UTC timezone. To use other timezones you have
75 to
install the corresponding zoneinfo-... package
(s
).
79 $(call Package
/php7
/Default
)
81 DEPENDS
:=+libpcre2
+zlib \
82 +PHP7_LIBXML
:libxml2 \
83 +PHP7_SYSTEMTZDATA
:zoneinfo-core
86 define Package
/php7
/description
87 $(call Package
/php7
/Default
/description
)
88 This package contains only the PHP config file. You must actually choose
89 your PHP flavour
(cli
, cgi or fastcgi
).
91 Please note
, that installing php5 and php7 in parallel on the same target
92 is not supported in OpenWrt
/LEDE.
95 define Package
/php7-cli
96 $(call Package
/php7
/Default
)
97 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
101 define Package
/php7-cli
/description
102 $(call Package
/php7
/Default
/description
)
103 This package contains the CLI version of the PHP7 interpreter.
106 define Package
/php7-cgi
107 $(call Package
/php7
/Default
)
108 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
109 TITLE
+= (CGI
& FastCGI
)
112 define Package
/php7-cgi
/description
113 $(call Package
/php7
/Default
/description
)
114 This package contains the CGI version of the PHP7 interpreter.
117 define Package
/php7-fastcgi
118 $(call Package
/php7
/Default
)
120 TITLE
:=FastCGI startup script
123 define Package
/php7-fastcgi
/description
124 As FastCGI support is now a core feature the php7-fastcgi package now depends
125 on the php7-cgi package
, containing just the startup script.
128 define Package
/php7-fpm
129 $(call Package
/php7
/Default
)
130 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
134 define Package
/php7-fpm
/description
135 $(call Package
/php7
/Default
/description
)
136 This package contains the FastCGI Process Manager of the PHP7 interpreter.
139 define Package
/php7-mod-intl
/config
140 config PHP7_FULLICUDATA
141 bool
"Add dependency to full ICU Data"
142 depends on PACKAGE_php7-mod-intl
146 define Package
/php7-mod-intl
/description
147 Note that this package depends in ICU library which is built without data
148 by default. This is to satisfy programs build and run dependencies but to
149 keep the installed footprint small on the target system
(s
).
150 However
, the data is required to make the ICU library useful
- and thus
151 directly affects PHPs ICU extension
, too
- so consider to also
152 select
/install package
'icu-full-data'.
155 # not everything groks --disable-nls
170 --with-config-file-path
=/etc \
171 --with-config-file-scan-dir
=/etc
/php7 \
172 --disable-short-tags \
175 --with-external-pcre \
176 --with-zlib
="$(STAGING_DIR)/usr"
178 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-bcmath
),)
179 CONFIGURE_ARGS
+= --enable-bcmath
=shared
181 CONFIGURE_ARGS
+= --disable-bcmath
184 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-calendar
),)
185 CONFIGURE_ARGS
+= --enable-calendar
=shared
187 CONFIGURE_ARGS
+= --disable-calendar
190 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ctype
),)
191 CONFIGURE_ARGS
+= --enable-ctype
=shared
193 CONFIGURE_ARGS
+= --disable-ctype
196 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-curl
),)
197 CONFIGURE_ARGS
+= --with-curl
=shared
199 CONFIGURE_ARGS
+= --without-curl
202 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-dom
),)
203 CONFIGURE_ARGS
+= --enable-dom
=shared
205 CONFIGURE_ARGS
+= --disable-dom
208 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-exif
),)
209 CONFIGURE_ARGS
+= --enable-exif
=shared
211 CONFIGURE_ARGS
+= --disable-exif
214 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-fileinfo
),)
215 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
,"$(STAGING_DIR)/usr"
217 CONFIGURE_ARGS
+= --disable-fileinfo
220 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-filter
),)
221 CONFIGURE_ARGS
+= --enable-filter
=shared
,"$(STAGING_DIR)/usr"
223 CONFIGURE_ARGS
+= --disable-filter
226 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ftp
),)
227 CONFIGURE_ARGS
+= --enable-ftp
=shared
229 CONFIGURE_ARGS
+= --disable-ftp
232 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gd
),)
234 --enable-gd
=shared
,"$(STAGING_DIR)/usr" \
237 CONFIGURE_ARGS
+= --disable-gd
240 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gettext
),)
241 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
243 CONFIGURE_ARGS
+= --without-gettext
246 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gmp
),)
247 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
249 CONFIGURE_ARGS
+= --without-gmp
252 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-iconv
),)
253 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
255 CONFIGURE_ARGS
+= --without-iconv
258 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-imap
),)
260 --with-imap
=shared
,"$(STAGING_DIR)/usr" \
262 --with-imap-ssl
="$(STAGING_DIR)/usr"
264 CONFIGURE_ARGS
+= --without-imap
267 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-intl
),)
268 CONFIGURE_ARGS
+= --enable-intl
=shared
269 TARGET_CXXFLAGS
+= -std
=c
++0x
271 CONFIGURE_ARGS
+= --disable-intl
274 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-json
),)
275 CONFIGURE_ARGS
+= --enable-json
=shared
277 CONFIGURE_ARGS
+= --disable-json
280 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ldap
),)
282 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
285 CONFIGURE_ARGS
+= --without-ldap
288 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mbstring
),)
290 --enable-mbstring
=shared \
293 CONFIGURE_ARGS
+= --disable-mbstring
296 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mysqli
),)
297 CONFIGURE_ARGS
+= --with-mysqli
=shared
299 CONFIGURE_ARGS
+= --without-mysqli
302 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mysqlnd
),)
303 CONFIGURE_ARGS
+= --enable-mysqlnd
=shared
305 CONFIGURE_ARGS
+= --disable-mysqlnd
308 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-opcache
),)
309 CONFIGURE_ARGS
+= --enable-opcache
=shared
311 CONFIGURE_ARGS
+= --disable-opcache
314 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-openssl
)$(CONFIG_PACKAGE_php7-mod-ftp
)$(CONFIG_PACKAGE_php7-mod-imap
)$(CONFIG_PACKAGE_php7-mod-snmp
),)
316 --with-openssl
=shared \
318 --with-openssl-dir
="$(STAGING_DIR)/usr"
320 CONFIGURE_ARGS
+= --without-openssl
323 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pcntl
),)
324 CONFIGURE_ARGS
+= --enable-pcntl
=shared
326 CONFIGURE_ARGS
+= --disable-pcntl
329 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo
),)
330 CONFIGURE_ARGS
+= --enable-pdo
=shared
331 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-mysql
),)
332 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
334 CONFIGURE_ARGS
+= --without-pdo-mysql
336 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-pgsql
),)
337 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
339 CONFIGURE_ARGS
+= --without-pdo-pgsql
341 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-sqlite
),)
342 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
344 CONFIGURE_ARGS
+= --without-pdo-sqlite
347 CONFIGURE_ARGS
+= --disable-pdo
350 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pgsql
),)
351 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
353 CONFIGURE_ARGS
+= --without-pgsql
356 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-phar
),)
357 CONFIGURE_ARGS
+= --enable-phar
=shared
359 CONFIGURE_ARGS
+= --disable-phar
362 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-session
),)
363 CONFIGURE_ARGS
+= --enable-session
=shared
365 CONFIGURE_ARGS
+= --disable-session
368 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-shmop
),)
369 CONFIGURE_ARGS
+= --enable-shmop
=shared
371 CONFIGURE_ARGS
+= --disable-shmop
374 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-simplexml
),)
375 CONFIGURE_ARGS
+= --enable-simplexml
=shared
377 CONFIGURE_ARGS
+= --disable-simplexml
380 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-snmp
),)
381 CONFIGURE_ARGS
+= --with-snmp
=shared
,"$(STAGING_DIR)/usr"
383 CONFIGURE_ARGS
+= --without-snmp
386 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-soap
),)
387 CONFIGURE_ARGS
+= --enable-soap
=shared
389 CONFIGURE_ARGS
+= --disable-soap
392 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sockets
),)
393 CONFIGURE_ARGS
+= --enable-sockets
=shared
395 CONFIGURE_ARGS
+= --disable-sockets
398 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sqlite3
),)
399 CONFIGURE_ARGS
+= --with-sqlite3
=shared
401 CONFIGURE_ARGS
+= --without-sqlite3
404 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvmsg
),)
405 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
407 CONFIGURE_ARGS
+= --disable-sysvmsg
410 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvsem
),)
411 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
413 CONFIGURE_ARGS
+= --disable-sysvsem
416 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvshm
),)
417 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
419 CONFIGURE_ARGS
+= --disable-sysvshm
422 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-tokenizer
),)
423 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
425 CONFIGURE_ARGS
+= --disable-tokenizer
428 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xml
),)
429 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
430 ifneq ($(CONFIG_PHP7_LIBXML
),y
)
431 CONFIGURE_ARGS
+= --with-expat
434 CONFIGURE_ARGS
+= --disable-xml
437 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlreader
),)
438 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
440 CONFIGURE_ARGS
+= --disable-xmlreader
443 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlwriter
),)
444 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
446 CONFIGURE_ARGS
+= --disable-xmlwriter
449 ifneq ($(CONFIG_PACKAGE_php7-mod-zip
),)
450 CONFIGURE_ARGS
+= --with-zip
=shared
,"$(STAGING_DIR)/usr"
452 CONFIGURE_ARGS
+= --without-zip
455 ifneq ($(SDK
)$(CONFIG_PHP7_LIBXML
),)
456 CONFIGURE_ARGS
+= --with-libxml
458 CONFIGURE_ARGS
+= --without-libxml
461 ifneq ($(CONFIG_PHP7_SYSTEMTZDATA
),)
462 CONFIGURE_ARGS
+= --with-system-tzdata
464 CONFIGURE_ARGS
+= --without-system-tzdata
468 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
469 php_cv_cc_rpath
="no" \
470 iconv_impl_name
="gnu_libiconv" \
471 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
472 ac_cv_u8t_decompose
=yes \
473 ac_cv_have_pcre2_jit
=no
475 define Package
/php7
/conffiles
480 define Package
/php7
/install
481 $(INSTALL_DIR
) $(1)/etc
482 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
485 define Package
/php7-cli
/install
486 $(INSTALL_DIR
) $(1)/usr
/bin
487 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
490 define Package
/php7-cgi
/install
491 $(INSTALL_DIR
) $(1)/usr
/bin
492 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
493 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
496 define Package
/php7-fastcgi
/install
497 $(INSTALL_DIR
) $(1)/etc
/config
498 $(INSTALL_DATA
) .
/files
/php7-fastcgi.config
$(1)/etc
/config
/php7-fastcgi
500 $(INSTALL_DIR
) $(1)/etc
/init.d
501 $(INSTALL_BIN
) .
/files
/php7-fastcgi.init
$(1)/etc
/init.d
/php7-fastcgi
504 define Package
/php7-fastcgi
/conffiles
505 /etc
/config
/php7-fastcgi
508 define Package
/php7-fpm
/install
509 $(INSTALL_DIR
) $(1)/usr
/bin
510 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/sapi
/fpm
/php-fpm
$(1)/usr
/bin
/php-fpm
512 $(INSTALL_DIR
) $(1)/etc
513 $(INSTALL_DATA
) .
/files
/php7-fpm.conf
$(1)/etc
/php7-fpm.conf
515 $(INSTALL_DIR
) $(1)/etc
/config
516 $(INSTALL_DATA
) .
/files
/php7-fpm.config
$(1)/etc
/config
/php7-fpm
518 $(INSTALL_DIR
) $(1)/etc
/php7-fpm.d
519 $(INSTALL_DATA
) .
/files
/php7-fpm-www.conf
$(1)/etc
/php7-fpm.d
/www.conf
521 $(INSTALL_DIR
) $(1)/etc
/init.d
522 $(INSTALL_BIN
) .
/files
/php7-fpm.init
$(1)/etc
/init.d
/php7-fpm
525 define Package
/php7-fpm
/conffiles
532 $(call Build
/Prepare
/Default
)
533 $(if
$(QUILT
),,( cd
$(PKG_BUILD_DIR
); touch configure.ac
; .
/buildconf
--force ))
536 define Build
/Configure
537 $(if
$(QUILT
),( cd
$(PKG_BUILD_DIR
); touch configure.ac
; .
/buildconf
--force ))
538 $(call Build
/Configure
/Default
)
541 define Build
/InstallDev
542 rm -rf
$(PKG_BUILD_DIR
)/staging
543 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
544 rm -rf
$(PKG_BUILD_DIR
)/staging
/usr
/{share
,man
,sbin
}
545 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/{php
,php-cgi
,php-cli
}
546 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize7
547 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php-config
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php7-config
548 mv
$(PKG_BUILD_DIR
)/staging
/usr
/include/php
$(PKG_BUILD_DIR
)/staging
/usr
/include/php7
549 mv
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php7
551 $(CP
) $(PKG_BUILD_DIR
)/staging
/usr
$(STAGING_DIR
)/
553 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
554 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
555 sed
-i
-e
"s#/include\`/php\"#/include\`/php7\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
556 sed
-i
-e
"s#/lib/php\`/build\"#/lib/php7\`/build\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
558 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
559 sed
-i
-e
"s#/include/php\"#/include/php7\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
564 define Package
/php7-mod-
$(1)
565 $(call Package
/php7
/Default
)
571 TITLE
:=$(2) shared module
574 define Package
/php7-mod-
$(1)/install
575 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
576 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
577 $(INSTALL_DIR
) $$(1)/etc
/php7
579 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
581 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
585 $$(eval
$$(call BuildPackage
,php7-mod-
$(1)))
589 $(eval
$(call BuildPackage
,php7
))
590 $(eval
$(call BuildPackage
,php7-cgi
))
591 $(eval
$(call BuildPackage
,php7-cli
))
592 $(eval
$(call BuildPackage
,php7-fastcgi
))
593 $(eval
$(call BuildPackage
,php7-fpm
))
595 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
596 $(eval
$(call BuildModule
,bcmath
,Bcmath
))
597 $(eval
$(call BuildModule
,calendar
,Calendar
))
598 $(eval
$(call BuildModule
,ctype
,Ctype
))
599 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php7-mod-curl
:libcurl
))
600 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP7_LIBXML
+PACKAGE_php7-mod-dom
:libxml2
))
601 $(eval
$(call BuildModule
,exif
,EXIF
))
602 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
603 $(eval
$(call BuildModule
,filter,Filter
))
604 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php7-mod-ftp
:libopenssl
))
605 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php7-mod-gd
:libgd-full
))
606 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php7-mod-gettext
:libintl-full
))
607 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php7-mod-gmp
:libgmp
))
608 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
609 $(eval
$(call BuildModule
,imap
,IMAP
,+PACKAGE_php7-mod-imap
:libopenssl
+PACKAGE_libpam
:libpam
+PACKAGE_php7-mod-imap
:uw-imap
))
610 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php7-mod-intl
:icu
+PHP7_FULLICUDATA
:icu-full-data
))
611 $(eval
$(call BuildModule
,json
,JSON
))
612 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php7-mod-ldap
:libopenldap
+PACKAGE_php7-mod-ldap
:libsasl2
))
613 $(eval
$(call BuildModule
,mbstring
,MBString
,+PACKAGE_php7-mod-mbstring
:oniguruma
))
614 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php7-mod-mysqli
:php7-mod-mysqlnd
,30))
615 $(eval
$(call BuildModule
,mysqlnd
,MySQL Native Driver
,+PACKAGE_php7-mod-openssl
:php7-mod-openssl
))
616 $(eval
$(call BuildModule
,opcache
,OPcache
,,,zend
))
617 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php7-mod-openssl
:libopenssl
,15))
618 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
619 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
620 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-mysql
:php7-mod-mysqlnd
))
621 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-pgsql
:libpq
))
622 $(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
))
623 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php7-mod-pgsql
:libpq
))
624 $(eval
$(call BuildModule
,phar
,Phar Archives
))
625 $(eval
$(call BuildModule
,session
,Session
))
626 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
627 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP7_LIBXML
+PACKAGE_php7-mod-simplexml
:libxml2
))
628 $(eval
$(call BuildModule
,snmp
,SNMP
,+PACKAGE_php7-mod-snmp
:libnetsnmp
+PACKAGE_php7-mod-snmp
:libopenssl
))
629 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP7_LIBXML
+PACKAGE_php7-mod-soap
:libxml2
))
630 $(eval
$(call BuildModule
,sockets
,Sockets
))
631 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php7-mod-sqlite3
:libsqlite3
))
632 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
633 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
634 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
635 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
636 $(eval
$(call BuildModule
,xml
,XML
,+PHP7_LIBXML
:libxml2
+!PHP7_LIBXML
:libexpat
))
637 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP7_LIBXML
+PACKAGE_php7-mod-dom
:php7-mod-dom
+PACKAGE_php7-mod-xmlreader
:libxml2
))
638 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlwriter
:libxml2
))
639 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php7-mod-zip
:libzip
))