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_HASH
:=a0118850774571b1f2d4e30b4fe7a4b958ca66f07d07d65ebdc789c54ba6eeb3
21 PKG_FIXUP
:=libtool autoreconf
36 mbstring mcrypt mysqli \
38 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql phar \
39 session shmop simplexml snmp 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 CONFIG_PHP7_LIBFREETYPE
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
71 bool
"PHP7 LIBXML support"
72 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
74 config PHP7_SYSTEMTZDATA
75 bool
"Use system timezone data instead of php's built-in database"
76 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi
77 select PACKAGE_zoneinfo-core
80 Enabling this feature automatically selects the zoneinfo-core package
81 which contains data for UTC timezone. To use other timezones you have
82 to
install the corresponding zoneinfo-... package
(s
).
86 $(call Package
/php7
/Default
)
88 DEPENDS
:=+libpcre
+zlib \
92 define Package
/php7
/description
93 $(call Package
/php7
/Default
/description
)
94 This package contains only the PHP config file. You must actually choose
95 your PHP flavour
(cli
, cgi or fastcgi
).
97 Please note
, that installing php5 and php7 in parallel on the same target
98 is not supported in OpenWrt
/LEDE.
101 define Package
/php7-cli
102 $(call Package
/php7
/Default
)
103 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
107 define Package
/php7-cli
/description
108 $(call Package
/php7
/Default
/description
)
109 This package contains the CLI version of the PHP7 interpreter.
112 define Package
/php7-cgi
113 $(call Package
/php7
/Default
)
114 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
115 TITLE
+= (CGI
& FastCGI
)
118 define Package
/php7-cgi
/description
119 $(call Package
/php7
/Default
/description
)
120 This package contains the CGI version of the PHP7 interpreter.
123 define Package
/php7-fastcgi
124 $(call Package
/php7
/Default
)
126 TITLE
:=FastCGI startup script
129 define Package
/php7-fastcgi
/description
130 As FastCGI support is now a core feature the php7-fastcgi package now depends
131 on the php7-cgi package
, containing just the startup script.
134 define Package
/php7-fpm
135 $(call Package
/php7
/Default
)
136 DEPENDS
+= +PACKAGE_php7-mod-intl
:libstdcpp
140 define Package
/php7-fpm
/description
141 $(call Package
/php7
/Default
/description
)
142 This package contains the FastCGI Process Manager of the PHP7 interpreter.
145 define Package
/php7-mod-gd
/config
146 config PHP7_LIBFREETYPE
147 bool
"Enable Freetype 2 support in php7-mod-gd"
148 depends on PACKAGE_php7-mod-gd
152 # not everything groks --disable-nls
166 --with-config-file-path
=/etc \
167 --with-config-file-scan-dir
=/etc
/php7 \
168 --disable-short-tags \
170 --with-zlib
="$(STAGING_DIR)/usr" \
171 --with-zlib-dir
="$(STAGING_DIR)/usr"
173 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-calendar
),)
174 CONFIGURE_ARGS
+= --enable-calendar
=shared
176 CONFIGURE_ARGS
+= --disable-calendar
179 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ctype
),)
180 CONFIGURE_ARGS
+= --enable-ctype
=shared
182 CONFIGURE_ARGS
+= --disable-ctype
185 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-curl
),)
186 CONFIGURE_ARGS
+= --with-curl
=shared
,"$(STAGING_DIR)/usr"
188 CONFIGURE_ARGS
+= --without-curl
191 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-fileinfo
),)
192 CONFIGURE_ARGS
+= --enable-fileinfo
=shared
194 CONFIGURE_ARGS
+= --disable-fileinfo
197 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gettext
),)
198 CONFIGURE_ARGS
+= --with-gettext
=shared
,"$(STAGING_DIR)/usr/lib/libintl-full"
200 CONFIGURE_ARGS
+= --without-gettext
203 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-dom
),)
204 CONFIGURE_ARGS
+= --enable-dom
=shared
206 CONFIGURE_ARGS
+= --disable-dom
209 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-exif
),)
210 CONFIGURE_ARGS
+= --enable-exif
=shared
212 CONFIGURE_ARGS
+= --disable-exif
215 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ftp
),)
216 CONFIGURE_ARGS
+= --enable-ftp
=shared
218 CONFIGURE_ARGS
+= --disable-ftp
221 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gd
),)
224 --with-jpeg-dir
="$(STAGING_DIR)/usr" \
225 --with-png-dir
="$(STAGING_DIR)/usr" \
227 --enable-gd-native-ttf \
228 --disable-gd-jis-conv
230 CONFIGURE_ARGS
+= --without-gd
232 ifneq ($(CONFIG_PHP7_LIBFREETYPE
),)
233 CONFIGURE_ARGS
+= --with-freetype-dir
="$(STAGING_DIR)"
235 CONFIGURE_ARGS
+= --without-freetype-dir
238 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-gmp
),)
239 CONFIGURE_ARGS
+= --with-gmp
=shared
,"$(STAGING_DIR)/usr"
241 CONFIGURE_ARGS
+= --without-gmp
244 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-hash
),)
245 CONFIGURE_ARGS
+= --enable-hash
=shared
247 CONFIGURE_ARGS
+= --disable-hash
250 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-iconv
),)
251 CONFIGURE_ARGS
+= --with-iconv
=shared
,"$(ICONV_PREFIX)"
253 CONFIGURE_ARGS
+= --without-iconv
256 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-imap
),)
258 --with-imap
=shared
,"$(STAGING_DIR)/usr" \
259 --with-imap-kerberos
=no \
260 --with-imap-ssl
="$(STAGING_DIR)/usr"
262 CONFIGURE_ARGS
+= --without-imap
265 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-intl
),)
266 CONFIGURE_ARGS
+= --enable-intl
=shared
267 TARGET_CXXFLAGS
+= -std
=c
++0x
269 CONFIGURE_ARGS
+= --disable-intl
272 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-json
),)
273 CONFIGURE_ARGS
+= --enable-json
=shared
275 CONFIGURE_ARGS
+= --disable-json
278 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-ldap
),)
280 --with-ldap
=shared
,"$(STAGING_DIR)/usr" \
281 --with-ldap-sasl
="$(STAGING_DIR)/usr"
283 CONFIGURE_ARGS
+= --without-ldap
286 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mbstring
),)
287 CONFIGURE_ARGS
+= --enable-mbstring
=shared
--enable-mbregex
289 CONFIGURE_ARGS
+= --disable-mbstring
292 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mcrypt
),)
293 CONFIGURE_ARGS
+= --with-mcrypt
=shared
,"$(STAGING_DIR)/usr"
295 CONFIGURE_ARGS
+= --without-mcrypt
298 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-mysqli
),)
299 CONFIGURE_ARGS
+= --with-mysqli
=shared
,"$(STAGING_DIR)/usr/bin/mysql_config"
301 CONFIGURE_ARGS
+= --without-mysqli
304 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-opcache
),)
305 CONFIGURE_ARGS
+= --enable-opcache
=shared
307 CONFIGURE_ARGS
+= --disable-opcache
310 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-openssl
)$(CONFIG_PACKAGE_php7-mod-snmp
),)
312 --with-openssl
=shared
,"$(STAGING_DIR)/usr" \
314 --with-openssl-dir
="$(STAGING_DIR)/usr"
316 CONFIGURE_ARGS
+= --without-openssl
319 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pcntl
),)
320 CONFIGURE_ARGS
+= --enable-pcntl
=shared
322 CONFIGURE_ARGS
+= --disable-pcntl
325 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo
),)
326 CONFIGURE_ARGS
+= --enable-pdo
=shared
327 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-mysql
),)
328 CONFIGURE_ARGS
+= --with-pdo-mysql
=shared
,"$(STAGING_DIR)/usr"
330 CONFIGURE_ARGS
+= --without-pdo-mysql
332 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-pgsql
),)
333 CONFIGURE_ARGS
+= --with-pdo-pgsql
=shared
,"$(STAGING_DIR)/usr"
335 CONFIGURE_ARGS
+= --without-pdo-pgsql
337 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pdo-sqlite
),)
338 CONFIGURE_ARGS
+= --with-pdo-sqlite
=shared
,"$(STAGING_DIR)/usr"
340 CONFIGURE_ARGS
+= --without-pdo-sqlite
343 CONFIGURE_ARGS
+= --disable-pdo
346 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-pgsql
),)
347 CONFIGURE_ARGS
+= --with-pgsql
=shared
,"$(STAGING_DIR)/usr"
349 CONFIGURE_ARGS
+= --without-pgsql
352 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-phar
),)
353 CONFIGURE_ARGS
+= --enable-phar
=shared
355 CONFIGURE_ARGS
+= --disable-phar
358 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-session
),)
359 CONFIGURE_ARGS
+= --enable-session
=shared
361 CONFIGURE_ARGS
+= --disable-session
364 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-shmop
),)
365 CONFIGURE_ARGS
+= --enable-shmop
=shared
367 CONFIGURE_ARGS
+= --disable-shmop
370 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-simplexml
),)
371 CONFIGURE_ARGS
+= --enable-simplexml
=shared
373 CONFIGURE_ARGS
+= --disable-simplexml
376 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-snmp
),)
377 CONFIGURE_ARGS
+= --with-snmp
=shared
,"$(STAGING_DIR)/usr"
379 CONFIGURE_ARGS
+= --without-snmp
382 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-soap
),)
383 CONFIGURE_ARGS
+= --enable-soap
=shared
385 CONFIGURE_ARGS
+= --disable-soap
388 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sockets
),)
389 CONFIGURE_ARGS
+= --enable-sockets
=shared
391 CONFIGURE_ARGS
+= --disable-sockets
394 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sqlite3
),)
395 CONFIGURE_ARGS
+= --with-sqlite3
=shared
,"$(STAGING_DIR)/usr"
397 CONFIGURE_ARGS
+= --without-sqlite3
400 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvmsg
),)
401 CONFIGURE_ARGS
+= --enable-sysvmsg
=shared
403 CONFIGURE_ARGS
+= --disable-sysvmsg
406 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvsem
),)
407 CONFIGURE_ARGS
+= --enable-sysvsem
=shared
409 CONFIGURE_ARGS
+= --disable-sysvsem
412 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-sysvshm
),)
413 CONFIGURE_ARGS
+= --enable-sysvshm
=shared
415 CONFIGURE_ARGS
+= --disable-sysvshm
418 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-tokenizer
),)
419 CONFIGURE_ARGS
+= --enable-tokenizer
=shared
421 CONFIGURE_ARGS
+= --disable-tokenizer
424 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xml
),)
425 CONFIGURE_ARGS
+= --enable-xml
=shared
,"$(STAGING_DIR)/usr"
426 ifneq ($(CONFIG_PHP7_LIBXML
),)
427 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
429 CONFIGURE_ARGS
+= --with-libexpat-dir
="$(STAGING_DIR)/usr"
432 CONFIGURE_ARGS
+= --disable-xml
435 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlreader
),)
436 CONFIGURE_ARGS
+= --enable-xmlreader
=shared
,"$(STAGING_DIR)/usr"
438 CONFIGURE_ARGS
+= --disable-xmlreader
441 ifneq ($(SDK
)$(CONFIG_PACKAGE_php7-mod-xmlwriter
),)
442 CONFIGURE_ARGS
+= --enable-xmlwriter
=shared
,"$(STAGING_DIR)/usr"
444 CONFIGURE_ARGS
+= --disable-xmlwriter
447 ifneq ($(CONFIG_PACKAGE_php7-mod-zip
),)
448 CONFIGURE_ARGS
+= --enable-zip
=shared
450 CONFIGURE_ARGS
+= --disable-zip
453 ifneq ($(SDK
)$(CONFIG_PHP7_FILTER
),)
454 CONFIGURE_ARGS
+= --enable-filter
456 CONFIGURE_ARGS
+= --disable-filter
459 ifneq ($(SDK
)$(CONFIG_PHP7_LIBXML
),)
460 CONFIGURE_ARGS
+= --enable-libxml
461 CONFIGURE_ARGS
+= --with-libxml-dir
="$(STAGING_DIR)/usr/include/libxml2"
463 CONFIGURE_ARGS
+= --disable-libxml
466 ifneq ($(CONFIG_PHP7_SYSTEMTZDATA
),)
467 CONFIGURE_ARGS
+= --with-system-tzdata
469 CONFIGURE_ARGS
+= --without-system-tzdata
473 ac_cv_c_bigendian_php
=$(if
$(CONFIG_BIG_ENDIAN
),yes
,no
) \
474 php_cv_cc_rpath
="no" \
475 iconv_impl_name
="gnu_libiconv" \
476 ac_cv_php_xml2_config_path
="$(STAGING_DIR)/host/bin/xml2-config" \
477 ac_cv_u8t_decompose
=yes \
479 define Package
/php7
/conffiles
484 define Package
/php7
/install
485 $(INSTALL_DIR
) $(1)/etc
486 $(INSTALL_DATA
) .
/files
/php.ini
$(1)/etc
/
489 define Package
/php7-cli
/install
490 $(INSTALL_DIR
) $(1)/usr
/bin
491 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cli
/php
$(1)/usr
/bin
/php-cli
494 define Package
/php7-cgi
/install
495 $(INSTALL_DIR
) $(1)/usr
/bin
496 $(CP
) $(PKG_BUILD_DIR
)/sapi
/cgi
/php-cgi
$(1)/usr
/bin
/php-cgi
497 ln
-sf php-cgi
$(1)/usr
/bin
/php-fcgi
500 define Package
/php7-fastcgi
/install
501 $(INSTALL_DIR
) $(1)/etc
/config
502 $(INSTALL_DATA
) .
/files
/php7-fastcgi.config
$(1)/etc
/config
/php7-fastcgi
504 $(INSTALL_DIR
) $(1)/etc
/init.d
505 $(INSTALL_BIN
) .
/files
/php7-fastcgi.init
$(1)/etc
/init.d
/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 ( cd
$(PKG_BUILD_DIR
); touch configure.in
; .
/buildconf
--force )
536 define Build
/InstallDev
537 rm -rf
$(PKG_BUILD_DIR
)/staging
538 make
-C
$(PKG_BUILD_DIR
) install INSTALL_ROOT
=$(PKG_BUILD_DIR
)/staging
539 rm -rf
$(PKG_BUILD_DIR
)/staging
/usr
/{share
,man
,sbin
}
540 rm -f
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/{php
,php-cgi
,php-cli
}
541 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/phpize7
542 mv
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php-config
$(PKG_BUILD_DIR
)/staging
/usr
/bin
/php7-config
543 mv
$(PKG_BUILD_DIR
)/staging
/usr
/include/php
$(PKG_BUILD_DIR
)/staging
/usr
/include/php7
544 mv
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php
$(PKG_BUILD_DIR
)/staging
/usr
/lib
/php7
546 $(CP
) $(PKG_BUILD_DIR
)/staging
/usr
$(STAGING_DIR
)/
548 sed
-i
-e
"s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
549 sed
-i
-e
"s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR
)/usr
/bin
/phpize7
550 sed
-i
-e
"s#/include\`/php\"#/include\`/php7\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
551 sed
-i
-e
"s#/lib/php\`/build\"#/lib/php7\`/build\"#" $(STAGING_DIR
)/usr
/bin
/phpize7
553 sed
-i
-e
"s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
554 sed
-i
-e
"s#/include/php\"#/include/php7\"#" $(STAGING_DIR
)/usr
/bin
/php7-config
559 define Package
/php7-mod-
$(1)
560 $(call Package
/php7
/Default
)
566 TITLE
:=$(2) shared module
569 define Package
/php7-mod-
$(1)/install
570 $(INSTALL_DIR
) $$(1)/usr
/lib
/php
571 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/modules
/$(subst -,_
,$(1)).so
$$(1)/usr
/lib
/php
/
572 $(INSTALL_DIR
) $$(1)/etc
/php7
574 echo
"zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
576 echo
"extension=$(subst -,_,$(1)).so" > $$(1)/etc
/php7
/$(if
$(4),$(4),20)_
$(subst -,_
,$(1)).ini
580 $$(eval
$$(call BuildPackage
,php7-mod-
$(1)))
584 $(eval
$(call BuildPackage
,php7
))
585 $(eval
$(call BuildPackage
,php7-cgi
))
586 $(eval
$(call BuildPackage
,php7-cli
))
587 $(eval
$(call BuildPackage
,php7-fastcgi
))
588 $(eval
$(call BuildPackage
,php7-fpm
))
590 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
591 $(eval
$(call BuildModule
,calendar
,Calendar
))
592 $(eval
$(call BuildModule
,ctype
,Ctype
))
593 $(eval
$(call BuildModule
,curl
,cURL
,+PACKAGE_php7-mod-curl
:libcurl
))
594 $(eval
$(call BuildModule
,dom
,DOM
,+@PHP7_LIBXML
+PACKAGE_php7-mod-dom
:libxml2
))
595 $(eval
$(call BuildModule
,exif
,EXIF
))
596 $(eval
$(call BuildModule
,fileinfo
,Fileinfo
))
597 $(eval
$(call BuildModule
,ftp
,FTP
,+PACKAGE_php7-mod-ftp
:libopenssl
))
598 $(eval
$(call BuildModule
,gd
,GD graphics
,+PACKAGE_php7-mod-gd
:libjpeg
+PACKAGE_php7-mod-gd
:libpng
+PHP7_LIBFREETYPE
:libfreetype
))
599 $(eval
$(call BuildModule
,gettext
,Gettext
,+PACKAGE_php7-mod-gettext
:libintl-full
))
600 $(eval
$(call BuildModule
,gmp
,GMP
,+PACKAGE_php7-mod-gmp
:libgmp
))
601 $(eval
$(call BuildModule
,hash
,Hash
))
602 $(eval
$(call BuildModule
,iconv
,iConv
,$(ICONV_DEPENDS
)))
603 $(eval
$(call BuildModule
,imap
,IMAP
,+PACKAGE_php7-mod-imap
:libopenssl
+PACKAGE_libpam
:libpam
+PACKAGE_php7-mod-imap
:uw-imap
))
604 $(eval
$(call BuildModule
,intl
,Internationalization Functions
,+PACKAGE_php7-mod-intl
:icu
))
605 $(eval
$(call BuildModule
,json
,JSON
))
606 $(eval
$(call BuildModule
,ldap
,LDAP
,+PACKAGE_php7-mod-ldap
:libopenldap
+PACKAGE_php7-mod-ldap
:libsasl2
))
607 $(eval
$(call BuildModule
,mbstring
,MBString
))
608 $(eval
$(call BuildModule
,mcrypt
,Mcrypt
,+PACKAGE_php7-mod-mcrypt
:libmcrypt
+PACKAGE_php7-mod-mcrypt
:libltdl
))
609 $(eval
$(call BuildModule
,mysqli
,MySQL Improved Extension
,+PACKAGE_php7-mod-mysqli
:libmysqlclient
))
610 $(eval
$(call BuildModule
,opcache
,OPcache
,,,zend
))
611 $(eval
$(call BuildModule
,openssl
,OpenSSL
,+PACKAGE_php7-mod-openssl
:libopenssl
))
612 $(eval
$(call BuildModule
,pcntl
,PCNTL
))
613 $(eval
$(call BuildModule
,pdo
,PHP Data Objects
))
614 $(eval
$(call BuildModule
,pdo-mysql
,PDO driver for MySQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-mysql
:libmysqlclient
))
615 $(eval
$(call BuildModule
,pdo-pgsql
,PDO driver for PostgreSQL
,+php7-mod-pdo
+PACKAGE_php7-mod-pdo-pgsql
:libpq
))
616 $(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
))
617 $(eval
$(call BuildModule
,pgsql
,PostgreSQL
,+PACKAGE_php7-mod-pgsql
:libpq
))
618 $(eval
$(call BuildModule
,phar
,Phar Archives
,+php7-mod-hash
))
619 $(eval
$(call BuildModule
,session
,Session
))
620 $(eval
$(call BuildModule
,shmop
,Shared Memory
))
621 $(eval
$(call BuildModule
,simplexml
,SimpleXML
,+@PHP7_LIBXML
+PACKAGE_php7-mod-simplexml
:libxml2
))
622 $(eval
$(call BuildModule
,snmp
,SNMP
,+PACKAGE_php7-mod-snmp
:libnetsnmp
+PACKAGE_php7-mod-snmp
:libopenssl
))
623 $(eval
$(call BuildModule
,soap
,SOAP
,+@PHP7_LIBXML
+PACKAGE_php7-mod-soap
:libxml2
))
624 $(eval
$(call BuildModule
,sockets
,Sockets
))
625 $(eval
$(call BuildModule
,sqlite3
,SQLite3
,+PACKAGE_php7-mod-sqlite3
:libsqlite3
))
626 $(eval
$(call BuildModule
,sysvmsg
,System V messages
))
627 $(eval
$(call BuildModule
,sysvsem
,System V shared memory
))
628 $(eval
$(call BuildModule
,sysvshm
,System V semaphore
))
629 $(eval
$(call BuildModule
,tokenizer
,Tokenizer
))
630 $(eval
$(call BuildModule
,xml
,XML
,+PHP7_LIBXML
:libxml2
+!PHP7_LIBXML
:libexpat
))
631 $(eval
$(call BuildModule
,xmlreader
,XMLReader
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlreader
:libxml2
))
632 $(eval
$(call BuildModule
,xmlwriter
,XMLWriter
,+@PHP7_LIBXML
+PACKAGE_php7-mod-xmlwriter
:libxml2
))
633 $(eval
$(call BuildModule
,zip
,ZIP
,+PACKAGE_php7-mod-zip
:zlib
))