rename pear packages with a common 'php-' prefix
[openwrt/svn-archive/archive.git] / lang / php-pear-xmlrpc / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=php-pear-xmlrpc
12 PKG_VERSION:=1.5.1
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=XML_RPC-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://download.pear.php.net/package
17 PKG_MD5SUM:=1b516162ad65971b5fd04a7c279627ec
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/XML_RPC-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/php-pear-xmlrpc
24 SUBMENU:=PHP
25 SECTION:=lang
26 CATEGORY:=Languages
27 TITLE:=PEAR XML-RPC module
28 URL:=http://pear.php.net/
29 DEPENDS:=php-pear
30 endef
31
32 define Build/Configure
33 endef
34
35 define Build/Compile
36 endef
37
38 define Package/php-pear-xmlrpc/install
39 $(INSTALL_DIR) $(1)/usr/lib/php/XML
40 $(CP) $(PKG_BUILD_DIR)/Dump.php \
41 $(PKG_BUILD_DIR)/RPC.php \
42 $(PKG_BUILD_DIR)/Server.php \
43 $(1)/usr/lib/php/XML/
44 endef
45
46 $(eval $(call BuildPackage,php-pear-xmlrpc))