From 406b8b4ed01185409f0df3097ff87cbab38178d7 Mon Sep 17 00:00:00 2001 From: Tim Yardley Date: Thu, 7 Jun 2007 17:45:32 +0000 Subject: [PATCH] pear-db and pear-xmlrpc SVN-Revision: 7522 --- lang/pear-db/Makefile | 39 +++++++++++++++++++++++++++++++++++ lang/pear-xmlrpc/Makefile | 43 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 lang/pear-db/Makefile create mode 100644 lang/pear-xmlrpc/Makefile diff --git a/lang/pear-db/Makefile b/lang/pear-db/Makefile new file mode 100644 index 0000000000..3471a87970 --- /dev/null +++ b/lang/pear-db/Makefile @@ -0,0 +1,39 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=pear-db +PKG_VERSION:=1.7.11 +PKG_RELEASE:=1 + +PKG_SOURCE:=DB-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://download.pear.php.net/package +PKG_MD5SUM:=a57302138757500706e075a4d3d87ef7 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/DB-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/pear-db + DEPENDS:=+php5 +php-pear + SECTION:=lang + CATEGORY:=Languages + TITLE:=pear-db + DESCRIPTION:=\ + pear-db + URL:=http://pear.php.net +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/pear-db/install + $(INSTALL_DIR) $(1)/usr/lib/php + $(CP) -a $(PKG_BUILD_DIR)/DB.php $(PKG_BUILD_DIR)/DB \ + $(1)/usr/lib/php +endef + +$(eval $(call BuildPackage,pear-db)) diff --git a/lang/pear-xmlrpc/Makefile b/lang/pear-xmlrpc/Makefile new file mode 100644 index 0000000000..2740cba856 --- /dev/null +++ b/lang/pear-xmlrpc/Makefile @@ -0,0 +1,43 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=pear-xmlrpc +PKG_VERSION:=1.5.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=XML_RPC-$(PKG_VERSION).tgz +PKG_SOURCE_URL:=http://download.pear.php.net/package +PKG_MD5SUM:=1b516162ad65971b5fd04a7c279627ec +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/XML_RPC-$(PKG_VERSION) +PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install + +include $(INCLUDE_DIR)/package.mk + +define Package/pear-xmlrpc + DEPENDS:=+php5 +php-pear + SECTION:=lang + CATEGORY:=Languages + TITLE:=pear-xmlrpc + DESCRIPTION:=\ + PHP's PEAR XML_RPC Library + URL:=http://pear.php.net +endef + +define Build/Configure +endef + +define Build/Compile +endef + + +define Package/pear-xmlrpc/install + $(INSTALL_DIR) $(1)/usr/lib/php/XML + $(CP) -a \ + $(PKG_BUILD_DIR)/Dump.php \ + $(PKG_BUILD_DIR)/RPC.php \ + $(PKG_BUILD_DIR)/Server.php \ + $(1)/usr/lib/php/XML +endef + +$(eval $(call BuildPackage,pear-xmlrpc)) -- 2.30.2