source: packages/lang/php5/Makefile @ 29591

Last change on this file since 29591 was 29591, checked in by mhei, 4 years ago

[packages] php5: add mysqli module

Oliver, thanks for the patch (#10646)

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