source: packages/lang/php-pear-xmlrpc/Makefile @ 16965

Last change on this file since 16965 was 16965, checked in by florian, 7 years ago

[package] set PKGARCH to all for packages containing only arch-neutral files (#5572)

Signed-off-by: Malte S. Stretz <mss@…>

File size: 955 bytes
Line 
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
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=php-pear-xmlrpc
11PKG_VERSION:=1.5.1
12PKG_RELEASE:=1
13
14PKG_SOURCE:=XML_RPC-$(PKG_VERSION).tgz
15PKG_SOURCE_URL:=http://download.pear.php.net/package
16PKG_MD5SUM:=1b516162ad65971b5fd04a7c279627ec
17
18PKG_BUILD_DIR:=$(BUILD_DIR)/XML_RPC-$(PKG_VERSION)
19
20include $(INCLUDE_DIR)/package.mk
21
22define 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/
28  DEPENDS:=php-pear
29  PKGARCH:=all
30endef
31
32define Build/Configure
33endef
34
35define Build/Compile
36endef
37
38define 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/
44endef
45
46$(eval $(call BuildPackage,php-pear-xmlrpc))
Note: See TracBrowser for help on using the repository browser.