From 7d688d9ab9e3384f9f5c6ea871ec16749641a6e2 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 24 Nov 2008 15:32:47 +0000 Subject: [PATCH] Add php5-exif module (#4188), bump release number git-svn-id: svn://svn.openwrt.org/openwrt/packages@13339 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- lang/php5/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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))