Add php5-exif module (), bump release number

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13339 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2008-11-24 15:32:47 +00:00
parent 12a23b283a
commit 7d688d9ab9

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=php PKG_NAME:=php
PKG_VERSION:=5.2.6 PKG_VERSION:=5.2.6
PKG_RELEASE:=1 PKG_RELEASE:=2
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/
@ -171,6 +171,12 @@ define Package/php5-mod-apc
TITLE:=APC Extension TITLE:=APC Extension
endef endef
define Package/php5-mod-exif
$(call Package/php5/Default)
DEPENDS:=php5
TITLE:=EXIF Extension
endef
PKG_CONFIGURE_LIBS:= -lcrypto -lssl PKG_CONFIGURE_LIBS:= -lcrypto -lssl
PKG_CONFIGURE_OPTS:= \ PKG_CONFIGURE_OPTS:= \
--enable-shared \ --enable-shared \
@ -295,6 +301,11 @@ ifneq ($(CONFIG_PACKAGE_php5-mod-apc),)
else else
PKG_CONFIGURE_OPTS+= --disable-apc PKG_CONFIGURE_OPTS+= --disable-apc
endif endif
ifneq ($(CONFIG_PACKAGE_php5-mod-exif),)
PKG_CONFIGURE_OPTS+= --enable-exif
else
PKG_CONFIGURE_OPTS+= --disable-exif
endif
define Build/Configure define Build/Configure
endef 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-pdo-sqlite,pdo_sqlite))
$(eval $(call BuildPlugin,php5-mod-xml,xml)) $(eval $(call BuildPlugin,php5-mod-xml,xml))
$(eval $(call BuildPlugin,php5-mod-apc)) $(eval $(call BuildPlugin,php5-mod-apc))
$(eval $(call BuildPlugin,php5-mod-exif))