2 # Copyright (C) 2012-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PECL_LONGNAME
:=Libevent
- event notification
15 PKG_MD5SUM
:=e091371a9e714098a4c04a6e3daeb56a
17 PKG_NAME
:=php5-pecl-
$(PECL_NAME
)
18 PKG_SOURCE
:=$(PECL_NAME
)-$(PKG_VERSION
).tgz
19 PKG_SOURCE_URL
:=http
://pecl.php.net
/get/
21 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PECL_NAME
)-$(PKG_VERSION
)
24 include $(INCLUDE_DIR
)/package.mk
25 include $(INCLUDE_DIR
)/nls.mk
26 include ..
/php5
/pecl.mk
28 CONFIGURE_ARGS
+= --with-libevent
=shared
,"$(STAGING_DIR)/usr"
30 $(eval
$(call PECLPackage
,$(PECL_NAME
),$(PECL_LONGNAME
),+libevent2
))
31 $(eval
$(call BuildPackage
,$(PKG_NAME
)))