40 lines
769 B
Makefile
40 lines
769 B
Makefile
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
PKG_NAME:=php-pear
|
||
|
PKG_VERSION:=1.5.4
|
||
|
PKG_RELEASE:=1
|
||
|
|
||
|
PKG_SOURCE:=PEAR-$(PKG_VERSION).tgz
|
||
|
PKG_SOURCE_URL:=http://download.pear.php.net/package
|
||
|
PKG_MD5SUM:=06432c4768fdd7df2c4982c973d3f429
|
||
|
PKG_CAT:=zcat
|
||
|
|
||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/PEAR-$(PKG_VERSION)
|
||
|
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
|
||
|
|
||
|
include $(INCLUDE_DIR)/package.mk
|
||
|
|
||
|
define Package/php-pear
|
||
|
DEPENDS:=+php5
|
||
|
SECTION:=lang
|
||
|
CATEGORY:=Languages
|
||
|
TITLE:=php-pear
|
||
|
DESCRIPTION:=\
|
||
|
php-pear
|
||
|
URL:=http://pear.php.net
|
||
|
endef
|
||
|
|
||
|
define Build/Configure
|
||
|
endef
|
||
|
|
||
|
define Build/Compile
|
||
|
endef
|
||
|
|
||
|
define Package/php-pear/install
|
||
|
$(INSTALL_DIR) $(1)/usr/lib/php
|
||
|
$(CP) -a $(PKG_BUILD_DIR)/PEAR.php $(PKG_BUILD_DIR)/PEAR \
|
||
|
$(1)/usr/lib/php
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,php-pear))
|