[packages] add missing & update current urls
[openwrt/svn-archive/archive.git] / lang / php-pear-xmlrpc / Makefile
1 #
2 # Copyright (C) 2007-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=php-pear-xmlrpc
11 PKG_VERSION:=1.5.1
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=XML_RPC-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=http://download.pear.php.net/package
16 PKG_MD5SUM:=1b516162ad65971b5fd04a7c279627ec
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/XML_RPC-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/php-pear-xmlrpc
23 SUBMENU:=PHP
24 SECTION:=lang
25 CATEGORY:=Languages
26 TITLE:=PEAR XML-RPC module
27 URL:=http://pear.php.net/package/XML_RPC
28 DEPENDS:=php-pear
29 PKGARCH:=all
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))