[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:
mhei 2011-07-30 06:38:53 +00:00
parent 0b516de46e
commit 495b7fe03c
3 changed files with 8053 additions and 4277 deletions

View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=php
PKG_VERSION:=5.3.6
PKG_RELEASE:=4
PKG_RELEASE:=5
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.php.net/distributions/
@ -29,7 +29,7 @@ PHP5_MODULES = \
hash \
iconv \
json \
ldap \
ldap libevent \
mbstring mcrypt mysql \
openssl \
pcntl pdo pdo-mysql pdo-pgsql pdo-sqlite pgsql \
@ -264,6 +264,12 @@ else
CONFIGURE_ARGS+= --without-ldap
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),)
CONFIGURE_ARGS+= --enable-mbstring=shared --enable-mbregex
else
@ -498,6 +504,7 @@ $(eval $(call BuildModule,hash,Hash))
$(eval $(call BuildModule,iconv,iConv,+libiconv))
$(eval $(call BuildModule,json,JSON))
$(eval $(call BuildModule,ldap,LDAP,+libopenldap +libsasl2))
$(eval $(call BuildModule,libevent,libevent,+libevent))
$(eval $(call BuildModule,mbstring,MBString))
$(eval $(call BuildModule,mcrypt,Mcrypt,+libmcrypt +libltdl))
$(eval $(call BuildModule,mysql,MySQL,+libmysqlclient))

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff