You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

538 lines
15 KiB

  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=php
  9. PKG_VERSION:=5.4.33
  10. PKG_RELEASE:=1
  11. PKG_MAINTAINER:=W. Michael Petullo <mike@flyn.org>
  12. PKG_LICENSE=PHPv3.01
  13. PKG_LICENSE_FILE=LICENSE
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
  15. PKG_SOURCE_URL:=http://www.php.net/distributions/
  16. PKG_MD5SUM:=c6878bb1cdb46bfc1e1a5cd67a024737
  17. PKG_FIXUP:=libtool no-autoreconf
  18. PKG_BUILD_PARALLEL:=1
  19. PHP5_MODULES = \
  20. calendar ctype curl \
  21. fileinfo \
  22. dom \
  23. exif \
  24. ftp \
  25. gettext gd gmp \
  26. hash \
  27. iconv \
  28. json \
  29. ldap \
  30. mbstring mcrypt mysql mysqli \
  31. openssl \
  32. pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
  33. session shmop simplexml soap sockets sqlite sqlite3 sysvmsg sysvsem sysvshm \
  34. tokenizer \
  35. xml xmlreader xmlwriter zip \
  36. PKG_CONFIG_DEPENDS:= \
  37. $(patsubst %,CONFIG_PACKAGE_php5-mod-%,$(PHP5_MODULES)) \
  38. CONFIG_PHP5_FILTER CONFIG_PHP5_LIBXML CONFIG_PHP5_SYSTEMTZDATA
  39. include $(INCLUDE_DIR)/package.mk
  40. include $(INCLUDE_DIR)/nls.mk
  41. define Package/php5/Default
  42. SUBMENU:=PHP
  43. SECTION:=lang
  44. CATEGORY:=Languages
  45. TITLE:=PHP5 Hypertext preprocessor
  46. URL:=http://www.php.net/
  47. MAINTAINER:=Michael Heimpold <mhei@heimpold.de>
  48. DEPENDS:=php5
  49. endef
  50. define Package/php5/Default/description
  51. PHP is a widely-used general-purpose scripting language that is especially
  52. suited for Web development and can be embedded into HTML.
  53. endef
  54. define Package/php5/config
  55. config PHP5_FILTER
  56. bool "PHP5 Filter support"
  57. depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
  58. config PHP5_LIBXML
  59. bool "PHP5 LIBXML support"
  60. depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
  61. config PHP5_SYSTEMTZDATA
  62. bool "Use system timezone data instead of php's built-in database"
  63. depends on PACKAGE_php5-cli || PACKAGE_php5-cgi
  64. select PACKAGE_zoneinfo-core
  65. default y
  66. help
  67. Enabling this feature automatically selects the zoneinfo-core package
  68. which contains data for UTC timezone. To use other timezones you have
  69. to install the corresponding zoneinfo-... package(s).
  70. endef
  71. define Package/php5
  72. $(call Package/php5/Default)
  73. DEPENDS:=+libpcre +zlib \
  74. +PHP5_LIBXML:libxml2
  75. endef
  76. define Package/php5/description
  77. $(call Package/php5/Default/description)
  78. This package contains only the PHP config file. You must actually choose
  79. your PHP flavour (cli, cgi or fastcgi).
  80. endef
  81. define Package/php5-cli
  82. $(call Package/php5/Default)
  83. TITLE+= (CLI)
  84. endef
  85. define Package/php5-cli/description
  86. $(call Package/php5/Default/description)
  87. This package contains the CLI version of the PHP5 interpreter.
  88. endef
  89. define Package/php5-cgi
  90. $(call Package/php5/Default)
  91. TITLE+= (CGI & FastCGI)
  92. endef
  93. define Package/php5-cgi/description
  94. $(call Package/php5/Default/description)
  95. This package contains the CGI version of the PHP5 interpreter.
  96. endef
  97. define Package/php5-fastcgi
  98. $(call Package/php5/Default)
  99. DEPENDS+= +php5-cgi
  100. TITLE:=FastCGI startup script
  101. endef
  102. define Package/php5-fastcgi/description
  103. As FastCGI support is now a core feature the php5-fastcgi package now depends
  104. on the php5-cgi package, containing just the startup script.
  105. endef
  106. CONFIGURE_ARGS+= \
  107. --enable-cli \
  108. --enable-cgi \
  109. --enable-shared \
  110. --disable-static \
  111. --disable-rpath \
  112. --disable-debug \
  113. --without-pear \
  114. \
  115. --with-config-file-path=/etc \
  116. --with-config-file-scan-dir=/etc/php5 \
  117. --disable-short-tags \
  118. \
  119. --with-zlib="$(STAGING_DIR)/usr" \
  120. --with-zlib-dir="$(STAGING_DIR)/usr" \
  121. --with-pcre-regex="$(STAGING_DIR)/usr" \
  122. --disable-phar
  123. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-calendar),)
  124. CONFIGURE_ARGS+= --enable-calendar=shared
  125. else
  126. CONFIGURE_ARGS+= --disable-calendar
  127. endif
  128. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ctype),)
  129. CONFIGURE_ARGS+= --enable-ctype=shared
  130. else
  131. CONFIGURE_ARGS+= --disable-ctype
  132. endif
  133. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-curl),)
  134. CONFIGURE_ARGS+= --with-curl=shared,"$(STAGING_DIR)/usr"
  135. else
  136. CONFIGURE_ARGS+= --without-curl
  137. endif
  138. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-fileinfo),)
  139. CONFIGURE_ARGS+= --enable-fileinfo=shared
  140. else
  141. CONFIGURE_ARGS+= --disable-fileinfo
  142. endif
  143. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gettext),)
  144. CONFIGURE_ARGS+= --with-gettext=shared,"$(STAGING_DIR)/usr/lib/libintl-full"
  145. else
  146. CONFIGURE_ARGS+= --without-gettext
  147. endif
  148. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-dom),)
  149. CONFIGURE_ARGS+= --enable-dom=shared
  150. else
  151. CONFIGURE_ARGS+= --disable-dom
  152. endif
  153. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-exif),)
  154. CONFIGURE_ARGS+= --enable-exif=shared
  155. else
  156. CONFIGURE_ARGS+= --disable-exif
  157. endif
  158. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ftp),)
  159. CONFIGURE_ARGS+= --enable-ftp=shared
  160. else
  161. CONFIGURE_ARGS+= --disable-ftp
  162. endif
  163. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gd),)
  164. CONFIGURE_ARGS+= \
  165. --with-gd=shared \
  166. --without-freetype-dir \
  167. --with-jpeg-dir="$(STAGING_DIR)/usr" \
  168. --with-png-dir="$(STAGING_DIR)/usr" \
  169. --without-xpm-dir \
  170. --without-t1lib \
  171. --enable-gd-native-ttf \
  172. --disable-gd-jis-conv
  173. else
  174. CONFIGURE_ARGS+= --without-gd
  175. endif
  176. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-gmp),)
  177. CONFIGURE_ARGS+= --with-gmp=shared,"$(STAGING_DIR)/usr"
  178. else
  179. CONFIGURE_ARGS+= --without-gmp
  180. endif
  181. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-hash),)
  182. CONFIGURE_ARGS+= --enable-hash=shared
  183. else
  184. CONFIGURE_ARGS+= --disable-hash
  185. endif
  186. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-iconv),)
  187. CONFIGURE_ARGS+= --with-iconv=shared,"$(ICONV_PREFIX)"
  188. else
  189. CONFIGURE_ARGS+= --without-iconv
  190. endif
  191. ifneq ($(CONFIG_PACKAGE_php5-mod-json),)
  192. CONFIGURE_ARGS+= --enable-json=shared
  193. else
  194. CONFIGURE_ARGS+= --disable-json
  195. endif
  196. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-ldap),)
  197. CONFIGURE_ARGS+= \
  198. --with-ldap=shared,"$(STAGING_DIR)/usr" \
  199. --with-ldap-sasl="$(STAGING_DIR)/usr"
  200. else
  201. CONFIGURE_ARGS+= --without-ldap
  202. endif
  203. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mbstring),)
  204. CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex
  205. else
  206. CONFIGURE_ARGS+= --disable-mbstring
  207. endif
  208. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mcrypt),)
  209. CONFIGURE_ARGS+= --with-mcrypt=shared,"$(STAGING_DIR)/usr"
  210. else
  211. CONFIGURE_ARGS+= --without-mcrypt
  212. endif
  213. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mysql),)
  214. CONFIGURE_ARGS+= --with-mysql=shared,"$(STAGING_DIR)/usr"
  215. else
  216. CONFIGURE_ARGS+= --without-mysql
  217. endif
  218. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-mysqli),)
  219. CONFIGURE_ARGS+= --with-mysqli=shared,"$(STAGING_DIR)/usr/bin/mysql_config"
  220. else
  221. CONFIGURE_ARGS+= --without-mysqli
  222. endif
  223. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-openssl),)
  224. CONFIGURE_ARGS+= \
  225. --with-openssl=shared,"$(STAGING_DIR)/usr" \
  226. --with-kerberos=no \
  227. --with-openssl-dir="$(STAGING_DIR)/usr"
  228. else
  229. CONFIGURE_ARGS+= --without-openssl
  230. endif
  231. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pcntl),)
  232. CONFIGURE_ARGS+= --enable-pcntl=shared
  233. else
  234. CONFIGURE_ARGS+= --disable-pcntl
  235. endif
  236. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo),)
  237. CONFIGURE_ARGS+= --enable-pdo=shared
  238. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-mysql),)
  239. CONFIGURE_ARGS+= --with-pdo-mysql=shared,"$(STAGING_DIR)/usr"
  240. else
  241. CONFIGURE_ARGS+= --without-pdo-mysql
  242. endif
  243. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-pgsql),)
  244. CONFIGURE_ARGS+= --with-pdo-pgsql=shared,"$(STAGING_DIR)/usr"
  245. else
  246. CONFIGURE_ARGS+= --without-pdo-pgsql
  247. endif
  248. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pdo-sqlite),)
  249. CONFIGURE_ARGS+= --with-pdo-sqlite=shared,"$(STAGING_DIR)/usr"
  250. else
  251. CONFIGURE_ARGS+= --without-pdo-sqlite
  252. endif
  253. else
  254. CONFIGURE_ARGS+= --disable-pdo
  255. endif
  256. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-pgsql),)
  257. CONFIGURE_ARGS+= --with-pgsql=shared,"$(STAGING_DIR)/usr"
  258. else
  259. CONFIGURE_ARGS+= --without-pgsql
  260. endif
  261. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-session),)
  262. CONFIGURE_ARGS+= --enable-session=shared
  263. else
  264. CONFIGURE_ARGS+= --disable-session
  265. endif
  266. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-shmop),)
  267. CONFIGURE_ARGS+= --enable-shmop=shared
  268. else
  269. CONFIGURE_ARGS+= --disable-shmop
  270. endif
  271. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-simplexml),)
  272. CONFIGURE_ARGS+= --enable-simplexml=shared
  273. else
  274. CONFIGURE_ARGS+= --disable-simplexml
  275. endif
  276. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-soap),)
  277. CONFIGURE_ARGS+= --enable-soap=shared
  278. else
  279. CONFIGURE_ARGS+= --disable-soap
  280. endif
  281. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sockets),)
  282. CONFIGURE_ARGS+= --enable-sockets=shared
  283. else
  284. CONFIGURE_ARGS+= --disable-sockets
  285. endif
  286. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sqlite),)
  287. CONFIGURE_ARGS+= --with-sqlite=shared,"$(STAGING_DIR)/usr"
  288. else
  289. CONFIGURE_ARGS+= --without-sqlite
  290. endif
  291. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sqlite3),)
  292. CONFIGURE_ARGS+= --with-sqlite3=shared,"$(STAGING_DIR)/usr"
  293. else
  294. CONFIGURE_ARGS+= --without-sqlite3
  295. endif
  296. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvmsg),)
  297. CONFIGURE_ARGS+= --enable-sysvmsg=shared
  298. else
  299. CONFIGURE_ARGS+= --disable-sysvmsg
  300. endif
  301. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvsem),)
  302. CONFIGURE_ARGS+= --enable-sysvsem=shared
  303. else
  304. CONFIGURE_ARGS+= --disable-sysvsem
  305. endif
  306. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-sysvshm),)
  307. CONFIGURE_ARGS+= --enable-sysvshm=shared
  308. else
  309. CONFIGURE_ARGS+= --disable-sysvshm
  310. endif
  311. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-tokenizer),)
  312. CONFIGURE_ARGS+= --enable-tokenizer=shared
  313. else
  314. CONFIGURE_ARGS+= --disable-tokenizer
  315. endif
  316. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xml),)
  317. CONFIGURE_ARGS+= --enable-xml=shared,"$(STAGING_DIR)/usr"
  318. ifneq ($(CONFIG_PHP5_LIBXML),)
  319. CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2"
  320. else
  321. CONFIGURE_ARGS+= --with-libexpat-dir="$(STAGING_DIR)/usr"
  322. endif
  323. else
  324. CONFIGURE_ARGS+= --disable-xml
  325. endif
  326. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xmlreader),)
  327. CONFIGURE_ARGS+= --enable-xmlreader=shared,"$(STAGING_DIR)/usr"
  328. else
  329. CONFIGURE_ARGS+= --disable-xmlreader
  330. endif
  331. ifneq ($(SDK)$(CONFIG_PACKAGE_php5-mod-xmlwriter),)
  332. CONFIGURE_ARGS+= --enable-xmlwriter=shared,"$(STAGING_DIR)/usr"
  333. else
  334. CONFIGURE_ARGS+= --disable-xmlwriter
  335. endif
  336. ifneq ($(CONFIG_PACKAGE_php5-mod-zip),)
  337. CONFIGURE_ARGS+= --enable-zip=shared
  338. else
  339. CONFIGURE_ARGS+= --disable-zip
  340. endif
  341. ifneq ($(SDK)$(CONFIG_PHP5_FILTER),)
  342. CONFIGURE_ARGS+= --enable-filter
  343. else
  344. CONFIGURE_ARGS+= --disable-filter
  345. endif
  346. ifneq ($(SDK)$(CONFIG_PHP5_LIBXML),)
  347. CONFIGURE_ARGS+= --enable-libxml
  348. CONFIGURE_ARGS+= --with-libxml-dir="$(STAGING_DIR)/usr/include/libxml2"
  349. else
  350. CONFIGURE_ARGS+= --disable-libxml
  351. endif
  352. ifneq ($(CONFIG_PHP5_SYSTEMTZDATA),)
  353. CONFIGURE_ARGS+= --with-system-tzdata
  354. else
  355. CONFIGURE_ARGS+= --without-system-tzdata
  356. endif
  357. CONFIGURE_VARS+= \
  358. ac_cv_c_bigendian_php=$(if $(CONFIG_BIG_ENDIAN),yes,no) \
  359. php_cv_cc_rpath="no" \
  360. iconv_impl_name="gnu_libiconv" \
  361. ac_cv_php_xml2_config_path="$(STAGING_DIR)/host/bin/xml2-config" \
  362. define Package/php5/conffiles
  363. /etc/php.ini
  364. endef
  365. define Package/php5/install
  366. $(INSTALL_DIR) $(1)/etc
  367. $(INSTALL_DATA) ./files/php.ini $(1)/etc/
  368. endef
  369. define Package/php5-cli/install
  370. $(INSTALL_DIR) $(1)/usr/bin
  371. $(CP) $(PKG_BUILD_DIR)/sapi/cli/php $(1)/usr/bin/php-cli
  372. endef
  373. define Package/php5-cgi/install
  374. $(INSTALL_DIR) $(1)/usr/bin
  375. $(CP) $(PKG_BUILD_DIR)/sapi/cgi/php-cgi $(1)/usr/bin/php-cgi
  376. ln -sf php-cgi $(1)/usr/bin/php-fcgi
  377. endef
  378. define Package/php5-fastcgi/install
  379. $(INSTALL_DIR) $(1)/etc/config
  380. $(INSTALL_DATA) ./files/php5-fastcgi.config $(1)/etc/config/php5-fastcgi
  381. $(INSTALL_DIR) $(1)/etc/init.d
  382. $(INSTALL_BIN) ./files/php5-fastcgi.init $(1)/etc/init.d/php5-fastcgi
  383. endef
  384. define Build/Prepare
  385. $(call Build/Prepare/Default)
  386. ( cd $(PKG_BUILD_DIR); touch configure.in; ./buildconf --force )
  387. endef
  388. define Build/InstallDev
  389. mkdir -p $(PKG_BUILD_DIR)/staging/usr/bin
  390. make -C $(PKG_BUILD_DIR) install INSTALL_ROOT=$(PKG_BUILD_DIR)/staging
  391. rm -f $(PKG_BUILD_DIR)/staging/usr/bin/php
  392. $(CP) $(PKG_BUILD_DIR)/staging/* $(STAGING_DIR_HOST)
  393. sed -i -e "s#prefix='/usr'#prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
  394. sed -i -e "s#exec_prefix=\"\`eval echo /usr\`\"#exec_prefix='$(STAGING_DIR_HOST)/usr'#" $(STAGING_DIR_HOST)/usr/bin/phpize
  395. sed -i -e "s#prefix=\"/usr\"#prefix=\"$(STAGING_DIR_HOST)/usr\"#" $(STAGING_DIR_HOST)/usr/bin/php-config
  396. endef
  397. define BuildModule
  398. define Package/php5-mod-$(1)
  399. $(call Package/php5/Default)
  400. ifneq ($(3),)
  401. DEPENDS+=$(3)
  402. endif
  403. TITLE:=$(2) shared module
  404. endef
  405. define Package/php5-mod-$(1)/install
  406. $(INSTALL_DIR) $$(1)/usr/lib/php
  407. $(INSTALL_BIN) $(PKG_BUILD_DIR)/modules/$(subst -,_,$(1)).so $$(1)/usr/lib/php/
  408. $(INSTALL_DIR) $$(1)/etc/php5
  409. echo "extension=$(subst -,_,$(1)).so" > $$(1)/etc/php5/$(subst -,_,$(1)).ini
  410. endef
  411. $$(eval $$(call BuildPackage,php5-mod-$(1)))
  412. endef
  413. $(eval $(call BuildPackage,php5))
  414. $(eval $(call BuildPackage,php5-cli))
  415. $(eval $(call BuildPackage,php5-cgi))
  416. $(eval $(call BuildPackage,php5-fastcgi))
  417. #$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
  418. $(eval $(call BuildModule,calendar,Calendar))
  419. $(eval $(call BuildModule,ctype,Ctype))
  420. $(eval $(call BuildModule,curl,cURL,+PACKAGE_php5-mod-curl:libcurl))
  421. $(eval $(call BuildModule,fileinfo,Fileinfo,+PACKAGE_php5-mod-fileinfo:libmagic))
  422. $(eval $(call BuildModule,dom,DOM,+@PHP5_LIBXML +PACKAGE_php5-mod-dom:libxml2))
  423. $(eval $(call BuildModule,exif,EXIF))
  424. $(eval $(call BuildModule,ftp,FTP,+PACKAGE_php5-mod-ftp:libopenssl))
  425. $(eval $(call BuildModule,gettext,Gettext,+PACKAGE_php5-mod-gettext:libintl-full))
  426. $(eval $(call BuildModule,gd,GD graphics,+PACKAGE_php5-mod-gd:libjpeg +PACKAGE_php5-mod-gd:libpng))
  427. $(eval $(call BuildModule,gmp,GMP,+PACKAGE_php5-mod-gmp:libgmp))
  428. $(eval $(call BuildModule,hash,Hash))
  429. $(eval $(call BuildModule,iconv,iConv,+PACKAGE_php5-mod-iconv:libiconv))
  430. $(eval $(call BuildModule,json,JSON))
  431. $(eval $(call BuildModule,ldap,LDAP,+PACKAGE_php5-mod-ldap:libopenldap +PACKAGE_php5-mod-ldap:libsasl2))
  432. $(eval $(call BuildModule,mbstring,MBString))
  433. $(eval $(call BuildModule,mcrypt,Mcrypt,+PACKAGE_php5-mod-mcrypt:libmcrypt +PACKAGE_php5-mod-mcrypt:libltdl))
  434. $(eval $(call BuildModule,mysql,MySQL,+PACKAGE_php5-mod-mysql:libmysqlclient))
  435. $(eval $(call BuildModule,mysqli,MySQL Improved Extension,+PACKAGE_php5-mod-mysqli:libmysqlclient))
  436. $(eval $(call BuildModule,openssl,OpenSSL,+PACKAGE_php5-mod-openssl:libopenssl))
  437. $(eval $(call BuildModule,pcntl,PCNTL))
  438. $(eval $(call BuildModule,pdo,PHP Data Objects))
  439. $(eval $(call BuildModule,pdo-mysql,PDO driver for MySQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-mysql:libmysqlclient))
  440. $(eval $(call BuildModule,pdo-pgsql,PDO driver for PostgreSQL,+php5-mod-pdo +PACKAGE_php5-mod-pdo-pgsql:libpq))
  441. $(eval $(call BuildModule,pdo-sqlite,PDO driver for SQLite 3.x,+php5-mod-pdo +PACKAGE_php5-mod-pdo-sqlite:libsqlite3 +PACKAGE_php5-mod-pdo-sqlite:libpthread +PACKAGE_php5-mod-pdo-sqlite:librt))
  442. $(eval $(call BuildModule,pgsql,PostgreSQL,+PACKAGE_php5-mod-pgsql:libpq))
  443. $(eval $(call BuildModule,session,Session))
  444. $(eval $(call BuildModule,shmop,Shared Memory))
  445. $(eval $(call BuildModule,simplexml,SimpleXML,+@PHP5_LIBXML +PACKAGE_php5-mod-simplexml:libxml2))
  446. $(eval $(call BuildModule,soap,SOAP,+@PHP5_LIBXML +PACKAGE_php5-mod-soap:libxml2))
  447. $(eval $(call BuildModule,sockets,Sockets))
  448. $(eval $(call BuildModule,sqlite3,SQLite3,+PACKAGE_php5-mod-sqlite3:libsqlite3 +PACKAGE_php5-mod-sqlite3:libpthread))
  449. $(eval $(call BuildModule,sysvmsg,System V messages))
  450. $(eval $(call BuildModule,sysvsem,System V shared memory))
  451. $(eval $(call BuildModule,sysvshm,System V semaphore))
  452. $(eval $(call BuildModule,tokenizer,Tokenizer))
  453. $(eval $(call BuildModule,xml,XML,+PHP5_LIBXML:libxml2 +!PHP5_LIBXML:libexpat))
  454. $(eval $(call BuildModule,xmlreader,XMLReader,+@PHP5_LIBXML +PACKAGE_php5-mod-xmlreader:libxml2 +PACKAGE_php5-mod-xmlreader:libiconv))
  455. $(eval $(call BuildModule,xmlwriter,XMLWriter,+@PHP5_LIBXML +PACKAGE_php5-mod-xmlwriter:libxml2 +PACKAGE_php5-mod-xmlwriter:libiconv))
  456. $(eval $(call BuildModule,zip,ZIP,+PACKAGE_php5-mod-zip:zlib))