diff --git a/lang/php5/Makefile b/lang/php5/Makefile index 7b64370f5..9c823263a 100644 --- a/lang/php5/Makefile +++ b/lang/php5/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=php PKG_VERSION:=5.2.6 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.php.net/distributions/ @@ -171,6 +171,12 @@ define Package/php5-mod-apc TITLE:=APC Extension endef +define Package/php5-mod-exif + $(call Package/php5/Default) + DEPENDS:=php5 + TITLE:=EXIF Extension +endef + PKG_CONFIGURE_LIBS:= -lcrypto -lssl PKG_CONFIGURE_OPTS:= \ --enable-shared \ @@ -295,6 +301,11 @@ ifneq ($(CONFIG_PACKAGE_php5-mod-apc),) else PKG_CONFIGURE_OPTS+= --disable-apc endif +ifneq ($(CONFIG_PACKAGE_php5-mod-exif),) + PKG_CONFIGURE_OPTS+= --enable-exif +else + PKG_CONFIGURE_OPTS+= --disable-exif +endif define Build/Configure endef @@ -421,3 +432,4 @@ $(eval $(call BuildPlugin,php5-mod-pdo,pdo)) $(eval $(call BuildPlugin,php5-mod-pdo-sqlite,pdo_sqlite)) $(eval $(call BuildPlugin,php5-mod-xml,xml)) $(eval $(call BuildPlugin,php5-mod-apc)) +$(eval $(call BuildPlugin,php5-mod-exif))