fix configure and opt flags, cleanup, actually revert [8668] after [8672]
[openwrt/svn-archive/archive.git] / lang / php-pear / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=php-pear
4 PKG_VERSION:=1.5.4
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=PEAR-$(PKG_VERSION).tgz
8 PKG_SOURCE_URL:=http://download.pear.php.net/package
9 PKG_MD5SUM:=06432c4768fdd7df2c4982c973d3f429
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/PEAR-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/php-pear
18 DEPENDS:=+php5
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=php-pear
22 DESCRIPTION:=\
23 php-pear
24 URL:=http://pear.php.net
25 endef
26
27 define Build/Configure
28 endef
29
30 define Build/Compile
31 endef
32
33 define Package/php-pear/install
34 $(INSTALL_DIR) $(1)/usr/lib/php
35 $(CP) -a $(PKG_BUILD_DIR)/PEAR.php $(PKG_BUILD_DIR)/PEAR \
36 $(1)/usr/lib/php
37 endef
38
39 $(eval $(call BuildPackage,php-pear))