[packages] php5: PECL: include support for libevent
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27838 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0b516de46e
commit
495b7fe03c
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=php
|
PKG_NAME:=php
|
||||||
PKG_VERSION:=5.3.6
|
PKG_VERSION:=5.3.6
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.php.net/distributions/
|
PKG_SOURCE_URL:=http://www.php.net/distributions/
|
||||||
@ -29,7 +29,7 @@ PHP5_MODULES = \
|
|||||||
hash \
|
hash \
|
||||||
iconv \
|
iconv \
|
||||||
json \
|
json \
|
||||||
ldap \
|
ldap libevent \
|
||||||
mbstring mcrypt mysql \
|
mbstring mcrypt mysql \
|
||||||
openssl \
|
openssl \
|
||||||
pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
|
pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
|
||||||
@ -264,6 +264,12 @@ else
|
|||||||
CONFIGURE_ARGS+= --without-ldap
|
CONFIGURE_ARGS+= --without-ldap
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CONFIG_PACKAGE_php5-mod-libevent),)
|
||||||
|
CONFIGURE_ARGS+= --with-libevent=shared,"$(STAGING_DIR)/usr"
|
||||||
|
else
|
||||||
|
CONFIGURE_ARGS+= --without-libevent
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_PACKAGE_php5-mod-mbstring),)
|
ifneq ($(CONFIG_PACKAGE_php5-mod-mbstring),)
|
||||||
CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex
|
CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex
|
||||||
else
|
else
|
||||||
@ -498,6 +504,7 @@ $(eval $(call BuildModule,hash,Hash))
|
|||||||
$(eval $(call BuildModule,iconv,iConv,+libiconv))
|
$(eval $(call BuildModule,iconv,iConv,+libiconv))
|
||||||
$(eval $(call BuildModule,json,JSON))
|
$(eval $(call BuildModule,json,JSON))
|
||||||
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))
|
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))
|
||||||
|
$(eval $(call BuildModule,libevent,libevent,+libevent))
|
||||||
$(eval $(call BuildModule,mbstring,MBString))
|
$(eval $(call BuildModule,mbstring,MBString))
|
||||||
$(eval $(call BuildModule,mcrypt,Mcrypt,+libmcrypt +libltdl))
|
$(eval $(call BuildModule,mcrypt,Mcrypt,+libmcrypt +libltdl))
|
||||||
$(eval $(call BuildModule,mysql,MySQL,+libmysqlclient))
|
$(eval $(call BuildModule,mysql,MySQL,+libmysqlclient))
|
||||||
|
1758
lang/php5/patches/020-PECL-add-libevent.patch
Normal file
1758
lang/php5/patches/020-PECL-add-libevent.patch
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user