Makefile (17658B)
1 # 2 # This is free software, licensed under the GNU General Public License v2. 3 # See /LICENSE for more information. 4 # 5 6 include $(TOPDIR)/rules.mk 7 8 PKG_NAME:=php 9 PKG_VERSION:=7.1.3 10 PKG_RELEASE:=1 11 12 PKG_MAINTAINER:=Michael Heimpold <mhei@heimpold.de> 13 14 PKG_LICENSE:=PHPv3.01 15 PKG_LICENSE_FILES:=LICENSE 16 17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz 18 PKG_SOURCE_URL:=http://www.php.net/distributions/ 19 PKG_MD5SUM:=d604d688be17f4a05b99dbb7fb9581f4 20 PKG_HASH:=e4887c2634778e37fd962fbdf5c4a7d32cd708482fe07b448804625570cb0bb0 21 22 PKG_FIXUP:=libtool autoreconf 23 PKG_BUILD_PARALLEL:=1 24 PKG_USE_MIPS16:=0 25 26 PHP7_MODULES = \ 27 calendar ctype curl \ 28 fileinfo \ 29 dom \ 30 exif \ 31 ftp \ 32 gettext gd gmp \ 33 hash \ 34 iconv intl \ 35 json \ 36 ldap \ 37 mbstring mcrypt mysqli \ 38 opcache openssl \ 39 pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql phar \ 40 session shmop simplexml soap sockets sqlite3 sysvmsg sysvsem sysvshm \ 41 tokenizer \ 42 xml xmlreader xmlwriter zip \ 43 44 PKG_CONFIG_DEPENDS:= \ 45 $(patsubst %,CONFIG_PACKAGE_php7-mod-%,$(PHP7_MODULES)) \ 46 CONFIG_PHP7_FILTER CONFIG_PHP7_LIBXML CONFIG_PHP7_SYSTEMTZDATA 47 48 include $(INCLUDE_DIR)/package.mk 49 include $(INCLUDE_DIR)/nls.mk 50 51 define Package/php7/Default 52 SUBMENU:=PHP 53 SECTION:=lang 54 CATEGORY:=Languages 55 TITLE:=PHP7 Hypertext preprocessor 56 URL:=http://www.php.net/ 57 DEPENDS:=php7 58 endef 59 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. 63 endef 64 65 define Package/php7/config 66 config PHP7_FILTER 67 bool "PHP7 Filter support" 68 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi 69 70 config PHP7_LIBXML 71 bool "PHP7 LIBXML support" 72 depends on PACKAGE_php7-cli || PACKAGE_php7-cgi 73 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 78 default y 79 help 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). 83 endef 84 85 define Package/php7 86 $(call Package/php7/Default) 87 88 DEPENDS:=+libpcre +zlib \ 89 +PHP7_LIBXML:libxml2 90 endef 91 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). 96 97 Please note, that installing php5 and php7 in parallel on the same target 98 is not supported in OpenWrt/LEDE. 99 endef 100 101 define Package/php7-cli 102 $(call Package/php7/Default) 103 DEPENDS+= +PACKAGE_php7-mod-intl:libstdcpp 104 TITLE+= (CLI) 105 endef 106 107 define Package/php7-cli/description 108 $(call Package/php7/Default/description) 109 This package contains the CLI version of the PHP7 interpreter. 110 endef 111 112 define Package/php7-cgi 113 $(call Package/php7/Default) 114 DEPENDS+= +PACKAGE_php7-mod-intl:libstdcpp 115 TITLE+= (CGI & FastCGI) 116 endef 117 118 define Package/php7-cgi/description 119 $(call Package/php7/Default/description) 120 This package contains the CGI version of the PHP7 interpreter. 121 endef 122 123 define Package/php7-fastcgi 124 $(call Package/php7/Default) 125 DEPENDS+= +php7-cgi 126 TITLE:=FastCGI startup script 127 endef 128 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. 132 endef 133 134 define Package/php7-fpm 135 $(call Package/php7/Default) 136 DEPENDS+= +php7-cgi 137 TITLE+= (FPM) 138 endef 139 140 define Package/php7-fpm/description 141 $(call Package/php7/Default/description) 142 This package contains the FastCGI Process Manager of the PHP7 interpreter. 143 endef 144 145 CONFIGURE_ARGS+= \ 146 --enable-cli \ 147 --enable-cgi \ 148 --enable-fpm \ 149 --enable-shared \ 150 --disable-static \ 151 --disable-rpath \ 152 --disable-debug \ 153 --disable-phpdbg \ 154 --without-pear \ 155 \ 156 --with-config-file-path=/etc \ 157 --with-config-file-scan-dir=/etc/php7 \ 158 --disable-short-tags \ 159 \ 160 --with-zlib="$(STAGING_DIR)/usr" \ 161 --with-zlib-dir="$(STAGING_DIR)/usr" 162 163 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-calendar),) 164 CONFIGURE_ARGS+= --enable-calendar=shared 165 else 166 CONFIGURE_ARGS+= --disable-calendar 167 endif 168 169 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-ctype),) 170 CONFIGURE_ARGS+= --enable-ctype=shared 171 else 172 CONFIGURE_ARGS+= --disable-ctype 173 endif 174 175 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-curl),) 176 CONFIGURE_ARGS+= --with-curl=shared,"$(STAGING_DIR)/usr" 177 else 178 CONFIGURE_ARGS+= --without-curl 179 endif 180 181 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-fileinfo),) 182 CONFIGURE_ARGS+= --enable-fileinfo=shared 183 else 184 CONFIGURE_ARGS+= --disable-fileinfo 185 endif 186 187 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-gettext),) 188 CONFIGURE_ARGS+= --with-gettext=shared,"$(STAGING_DIR)/usr/lib/libintl-full" 189 else 190 CONFIGURE_ARGS+= --without-gettext 191 endif 192 193 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-dom),) 194 CONFIGURE_ARGS+= --enable-dom=shared 195 else 196 CONFIGURE_ARGS+= --disable-dom 197 endif 198 199 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-exif),) 200 CONFIGURE_ARGS+= --enable-exif=shared 201 else 202 CONFIGURE_ARGS+= --disable-exif 203 endif 204 205 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-ftp),) 206 CONFIGURE_ARGS+= --enable-ftp=shared 207 else 208 CONFIGURE_ARGS+= --disable-ftp 209 endif 210 211 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-gd),) 212 CONFIGURE_ARGS+= \ 213 --with-gd=shared \ 214 --without-freetype-dir \ 215 --with-jpeg-dir="$(STAGING_DIR)/usr" \ 216 --with-png-dir="$(STAGING_DIR)/usr" \ 217 --without-xpm-dir \ 218 --without-t1lib \ 219 --enable-gd-native-ttf \ 220 --disable-gd-jis-conv 221 else 222 CONFIGURE_ARGS+= --without-gd 223 endif 224 225 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-gmp),) 226 CONFIGURE_ARGS+= --with-gmp=shared,"$(STAGING_DIR)/usr" 227 else 228 CONFIGURE_ARGS+= --without-gmp 229 endif 230 231 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-hash),) 232 CONFIGURE_ARGS+= --enable-hash=shared 233 else 234 CONFIGURE_ARGS+= --disable-hash 235 endif 236 237 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-iconv),) 238 CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)" 239 else 240 CONFIGURE_ARGS+= --without-iconv 241 endif 242 243 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-intl),) 244 CONFIGURE_ARGS+= --enable-intl=shared 245 else 246 CONFIGURE_ARGS+= --disable-intl 247 endif 248 249 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-json),) 250 CONFIGURE_ARGS+= --enable-json=shared 251 else 252 CONFIGURE_ARGS+= --disable-json 253 endif 254 255 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-ldap),) 256 CONFIGURE_ARGS+= \ 257 --with-ldap=shared,"$(STAGING_DIR)/usr" \ 258 --with-ldap-sasl="$(STAGING_DIR)/usr" 259 else 260 CONFIGURE_ARGS+= --without-ldap 261 endif 262 263 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-mbstring),) 264 CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex 265 else 266 CONFIGURE_ARGS+= --disable-mbstring 267 endif 268 269 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-mcrypt),) 270 CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr" 271 else 272 CONFIGURE_ARGS+= --without-mcrypt 273 endif 274 275 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-mysqli),) 276 CONFIGURE_ARGS+= --with-mysqli=shared,"$(STAGING_DIR)/usr/bin/mysql_config" 277 else 278 CONFIGURE_ARGS+= --without-mysqli 279 endif 280 281 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-opcache),) 282 CONFIGURE_ARGS+= --enable-opcache=shared 283 else 284 CONFIGURE_ARGS+= --disable-opcache 285 endif 286 287 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-openssl),) 288 CONFIGURE_ARGS+= \ 289 --with-openssl=shared,"$(STAGING_DIR)/usr" \ 290 --with-kerberos=no \ 291 --with-openssl-dir="$(STAGING_DIR)/usr" 292 else 293 CONFIGURE_ARGS+= --without-openssl 294 endif 295 296 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-pcntl),) 297 CONFIGURE_ARGS+= --enable-pcntl=shared 298 else 299 CONFIGURE_ARGS+= --disable-pcntl 300 endif 301 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" 306 else 307 CONFIGURE_ARGS+= --without-pdo-mysql 308 endif 309 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-pdo-pgsql),) 310 CONFIGURE_ARGS+= --with-pdo-pgsql=shared,"$(STAGING_DIR)/usr" 311 else 312 CONFIGURE_ARGS+= --without-pdo-pgsql 313 endif 314 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-pdo-sqlite),) 315 CONFIGURE_ARGS+= --with-pdo-sqlite=shared,"$(STAGING_DIR)/usr" 316 else 317 CONFIGURE_ARGS+= --without-pdo-sqlite 318 endif 319 else 320 CONFIGURE_ARGS+= --disable-pdo 321 endif 322 323 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-pgsql),) 324 CONFIGURE_ARGS+= --with-pgsql=shared,"$(STAGING_DIR)/usr" 325 else 326 CONFIGURE_ARGS+= --without-pgsql 327 endif 328 329 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-phar),) 330 CONFIGURE_ARGS+= --enable-phar=shared 331 else 332 CONFIGURE_ARGS+= --disable-phar 333 endif 334 335 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-session),) 336 CONFIGURE_ARGS+= --enable-session=shared 337 else 338 CONFIGURE_ARGS+= --disable-session 339 endif 340 341 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-shmop),) 342 CONFIGURE_ARGS+= --enable-shmop=shared 343 else 344 CONFIGURE_ARGS+= --disable-shmop 345 endif 346 347 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-simplexml),) 348 CONFIGURE_ARGS+= --enable-simplexml=shared 349 else 350 CONFIGURE_ARGS+= --disable-simplexml 351 endif 352 353 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-soap),) 354 CONFIGURE_ARGS+= --enable-soap=shared 355 else 356 CONFIGURE_ARGS+= --disable-soap 357 endif 358 359 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-sockets),) 360 CONFIGURE_ARGS+= --enable-sockets=shared 361 else 362 CONFIGURE_ARGS+= --disable-sockets 363 endif 364 365 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-sqlite3),) 366 CONFIGURE_ARGS+= --with-sqlite3=shared,"$(STAGING_DIR)/usr" 367 else 368 CONFIGURE_ARGS+= --without-sqlite3 369 endif 370 371 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-sysvmsg),) 372 CONFIGURE_ARGS+= --enable-sysvmsg=shared 373 else 374 CONFIGURE_ARGS+= --disable-sysvmsg 375 endif 376 377 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-sysvsem),) 378 CONFIGURE_ARGS+= --enable-sysvsem=shared 379 else 380 CONFIGURE_ARGS+= --disable-sysvsem 381 endif 382 383 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-sysvshm),) 384 CONFIGURE_ARGS+= --enable-sysvshm=shared 385 else 386 CONFIGURE_ARGS+= --disable-sysvshm 387 endif 388 389 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-tokenizer),) 390 CONFIGURE_ARGS+= --enable-tokenizer=shared 391 else 392 CONFIGURE_ARGS+= --disable-tokenizer 393 endif 394 395 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-xml),) 396 CONFIGURE_ARGS+= --enable-xml=shared,"$(STAGING_DIR)/usr" 397 ifneq ($(CONFIG_PHP7_LIBXML),) 398 CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2" 399 else 400 CONFIGURE_ARGS+= --with-libexpat-dir="$(STAGING_DIR)/usr" 401 endif 402 else 403 CONFIGURE_ARGS+= --disable-xml 404 endif 405 406 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-xmlreader),) 407 CONFIGURE_ARGS+= --enable-xmlreader=shared,"$(STAGING_DIR)/usr" 408 else 409 CONFIGURE_ARGS+= --disable-xmlreader 410 endif 411 412 ifneq ($(SDK)$(CONFIG_PACKAGE_php7-mod-xmlwriter),) 413 CONFIGURE_ARGS+= --enable-xmlwriter=shared,"$(STAGING_DIR)/usr" 414 else 415 CONFIGURE_ARGS+= --disable-xmlwriter 416 endif 417 418 ifneq ($(CONFIG_PACKAGE_php7-mod-zip),) 419 CONFIGURE_ARGS+= --enable-zip=shared 420 else 421 CONFIGURE_ARGS+= --disable-zip 422 endif 423 424 ifneq ($(SDK)$(CONFIG_PHP7_FILTER),) 425 CONFIGURE_ARGS+= --enable-filter 426 else 427 CONFIGURE_ARGS+= --disable-filter 428 endif 429 430 ifneq ($(SDK)$(CONFIG_PHP7_LIBXML),) 431 CONFIGURE_ARGS+= --enable-libxml 432 CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2" 433 else 434 CONFIGURE_ARGS+= --disable-libxml 435 endif 436 437 #ifneq ($(CONFIG_PHP7_SYSTEMTZDATA),) 438 # CONFIGURE_ARGS+= --with-system-tzdata 439 #else 440 # CONFIGURE_ARGS+= --without-system-tzdata 441 #endif 442 443 CONFIGURE_VARS+= \ 444 ac_cv_c_bigendian_php=$(if $(CONFIG_BIG_ENDIAN),yes,no) \ 445 php_cv_cc_rpath="no" \ 446 iconv_impl_name="gnu_libiconv" \ 447 ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \ 448 449 define Package/php7/conffiles 450 /etc/php.ini 451 endef 452 453 define Package/php7/install 454 $(INSTALL_DIR) $(1)/etc 455 $(INSTALL_DATA) ./files/php.ini $(1)/etc/ 456 endef 457 458 define Package/php7-cli/install 459 $(INSTALL_DIR) $(1)/usr/bin 460 $(CP) $(PKG_BUILD_DIR)/sapi/cli/php $(1)/usr/bin/php-cli 461 endef 462 463 define Package/php7-cgi/install 464 $(INSTALL_DIR) $(1)/usr/bin 465 $(CP) $(PKG_BUILD_DIR)/sapi/cgi/php-cgi $(1)/usr/bin/php-cgi 466 ln -sf php-cgi $(1)/usr/bin/php-fcgi 467 endef 468 469 define Package/php7-fastcgi/install 470 $(INSTALL_DIR) $(1)/etc/config 471 $(INSTALL_DATA) ./files/php7-fastcgi.config $(1)/etc/config/php7-fastcgi 472 473 $(INSTALL_DIR) $(1)/etc/init.d 474 $(INSTALL_BIN) ./files/php7-fastcgi.init $(1)/etc/init.d/php7-fastcgi 475 endef 476 477 define Package/php7-fpm/install 478 $(INSTALL_DIR) $(1)/usr/bin 479 $(INSTALL_BIN) $(PKG_BUILD_DIR)/sapi/fpm/php-fpm $(1)/usr/bin/php-fpm 480 481 $(INSTALL_DIR) $(1)/etc 482 $(INSTALL_DATA) ./files/php7-fpm.conf $(1)/etc/php7-fpm.conf 483 484 $(INSTALL_DIR) $(1)/etc/config 485 $(INSTALL_DATA) ./files/php7-fpm.config $(1)/etc/config/php7-fpm 486 487 $(INSTALL_DIR) $(1)/etc/php7-fpm.d 488 $(INSTALL_DATA) ./files/php7-fpm-www.conf $(1)/etc/php7-fpm.d/www.conf 489 490 $(INSTALL_DIR) $(1)/etc/init.d 491 $(INSTALL_BIN) ./files/php7-fpm.init $(1)/etc/init.d/php7-fpm 492 endef 493 494 define Build/Prepare 495 $(call Build/Prepare/Default) 496 ( cd $(PKG_BUILD_DIR); touch configure.in; ./buildconf --force ) 497 endef 498 499 define Build/InstallDev 500 rm -rf $(PKG_BUILD_DIR)/staging 501 make -C $(PKG_BUILD_DIR) install INSTALL_ROOT=$(PKG_BUILD_DIR)/staging 502 rm -rf $(PKG_BUILD_DIR)/staging/usr/{share,man,sbin} 503 rm -f $(PKG_BUILD_DIR)/staging/usr/bin/{php,php-cgi,php-cli} 504 mv $(PKG_BUILD_DIR)/staging/usr/bin/phpize $(PKG_BUILD_DIR)/staging/usr/bin/phpize7 505 mv $(PKG_BUILD_DIR)/staging/usr/bin/php-config $(PKG_BUILD_DIR)/staging/usr/bin/php7-config 506 mv $(PKG_BUILD_DIR)/staging/usr/include/php $(PKG_BUILD_DIR)/staging/usr/include/php7 507 mv $(PKG_BUILD_DIR)/staging/usr/lib/php $(PKG_BUILD_DIR)/staging/usr/lib/php7 508 509 $(CP) $(PKG_BUILD_DIR)/staging/usr $(STAGING_DIR)/ 510 511 sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR)/usr/bin/phpize7 512 sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR)/usr'#" $(STAGING_DIR)/usr/bin/phpize7 513 sed -i -e "s#/include\`/php\"#/include\`/php7\"#" $(STAGING_DIR)/usr/bin/phpize7 514 sed -i -e "s#/lib/php\`/build\"#/lib/php7\`/build\"#" $(STAGING_DIR)/usr/bin/phpize7 515 516 sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR)/usr\"#" $(STAGING_DIR)/usr/bin/php7-config 517 sed -i -e "s#/include/php\"#/include/php7\"#" $(STAGING_DIR)/usr/bin/php7-config 518 endef 519 520 define BuildModule 521 522 define Package/php7-mod-$(1) 523 $(call Package/php7/Default) 524 525 ifneq ($(3),) 526 DEPENDS+=$(3) 527 endif 528 529 TITLE:=$(2) shared module 530 endef 531 532 define Package/php7-mod-$(1)/install 533 $(INSTALL_DIR) $$(1)/usr/lib/php 534 $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/$(subst -,_,$(1)).so $$(1)/usr/lib/php/ 535 $(INSTALL_DIR) $$(1)/etc/php7 536 ifeq ($(5),zend) 537 echo "zend_extension=/usr/lib/php/$(subst -,_,$(1)).so" > $$(1)/etc/php7/$(if $(4),$(4),20)_$(subst -,_,$(1)).ini 538 else 539 echo "extension=$(subst -,_,$(1)).so" > $$(1)/etc/php7/$(if $(4),$(4),20)_$(subst -,_,$(1)).ini 540 endif 541 endef 542 543 $$(eval $$(call BuildPackage,php7-mod-$(1))) 544 545 endef 546 547 $(eval $(call BuildPackage,php7)) 548 $(eval $(call BuildPackage,php7-cgi)) 549 $(eval $(call BuildPackage,php7-cli)) 550 $(eval $(call BuildPackage,php7-fastcgi)) 551 $(eval $(call BuildPackage,php7-fpm)) 552 553 #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS])) 554 $(eval $(call BuildModule,calendar,Calendar)) 555 $(eval $(call BuildModule,ctype,Ctype)) 556 $(eval $(call BuildModule,curl,cURL,+PACKAGE_php7-mod-curl:libcurl)) 557 $(eval $(call BuildModule,dom,DOM,+@PHP7_LIBXML +PACKAGE_php7-mod-dom:libxml2)) 558 $(eval $(call BuildModule,exif,EXIF)) 559 $(eval $(call BuildModule,fileinfo,Fileinfo)) 560 $(eval $(call BuildModule,ftp,FTP,+PACKAGE_php7-mod-ftp:libopenssl)) 561 $(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php7-mod-gd:libjpeg +PACKAGE_php7-mod-gd:libpng)) 562 $(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php7-mod-gettext:libintl-full)) 563 $(eval $(call BuildModule,gmp,GMP,+PACKAGE_php7-mod-gmp:libgmp)) 564 $(eval $(call BuildModule,hash,Hash)) 565 $(eval $(call BuildModule,iconv,iConv,$(ICONV_DEPENDS))) 566 $(eval $(call BuildModule,intl,Internationalization Functions,+PACKAGE_php7-mod-intl:icu)) 567 $(eval $(call BuildModule,json,JSON)) 568 $(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php7-mod-ldap:libopenldap +PACKAGE_php7-mod-ldap:libsasl2)) 569 $(eval $(call BuildModule,mbstring,MBString)) 570 $(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php7-mod-mcrypt:libmcrypt +PACKAGE_php7-mod-mcrypt:libltdl)) 571 $(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php7-mod-mysqli:libmysqlclient)) 572 $(eval $(call BuildModule,opcache,OPcache,,,zend)) 573 $(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php7-mod-openssl:libopenssl)) 574 $(eval $(call BuildModule,pcntl,PCNTL)) 575 $(eval $(call BuildModule,pdo,PHP Data Objects)) 576 $(eval $(call BuildModule,pdo-mysql,PDO driver for MySQL,+php7-mod-pdo +PACKAGE_php7-mod-pdo-mysql:libmysqlclient)) 577 $(eval $(call BuildModule,pdo-pgsql,PDO driver for PostgreSQL,+php7-mod-pdo +PACKAGE_php7-mod-pdo-pgsql:libpq)) 578 $(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)) 579 $(eval $(call BuildModule,pgsql,PostgreSQL,+PACKAGE_php7-mod-pgsql:libpq)) 580 $(eval $(call BuildModule,phar,Phar Archives,+php7-mod-hash)) 581 $(eval $(call BuildModule,session,Session)) 582 $(eval $(call BuildModule,shmop,Shared Memory)) 583 $(eval $(call BuildModule,simplexml,SimpleXML,+@PHP7_LIBXML +PACKAGE_php7-mod-simplexml:libxml2)) 584 $(eval $(call BuildModule,soap,SOAP,+@PHP7_LIBXML +PACKAGE_php7-mod-soap:libxml2)) 585 $(eval $(call BuildModule,sockets,Sockets)) 586 $(eval $(call BuildModule,sqlite3,SQLite3,+PACKAGE_php7-mod-sqlite3:libsqlite3)) 587 $(eval $(call BuildModule,sysvmsg,System V messages)) 588 $(eval $(call BuildModule,sysvsem,System V shared memory)) 589 $(eval $(call BuildModule,sysvshm,System V semaphore)) 590 $(eval $(call BuildModule,tokenizer,Tokenizer)) 591 $(eval $(call BuildModule,xml,XML,+PHP7_LIBXML:libxml2 +!PHP7_LIBXML:libexpat)) 592 $(eval $(call BuildModule,xmlreader,XMLReader,+@PHP7_LIBXML +PACKAGE_php7-mod-xmlreader:libxml2)) 593 $(eval $(call BuildModule,xmlwriter,XMLWriter,+@PHP7_LIBXML +PACKAGE_php7-mod-xmlwriter:libxml2)) 594 $(eval $(call BuildModule,zip,ZIP,+PACKAGE_php7-mod-zip:zlib))