X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;ds=sidebyside;f=packages%2Flang%2Fphp-pear-db%2FMakefile;fp=packages%2Flang%2Fphp-pear-db%2FMakefile;h=e135d09371a4be2b0fa66fa95e4797500967a96f;hb=c1c94620ebf47c0a0f9e1d1a12ff1e9d83b5b312;hp=0000000000000000000000000000000000000000;hpb=ecab1f5bd82201477a9cd0c6ad712085ecef5866;p=librewrt%2F.git diff --git a/packages/lang/php-pear-db/Makefile b/packages/lang/php-pear-db/Makefile new file mode 100644 index 0000000..e135d09 --- /dev/null +++ b/packages/lang/php-pear-db/Makefile @@ -0,0 +1,43 @@ +# +# Copyright (C) 2007-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=php-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_BUILD_DIR:=$(BUILD_DIR)/DB-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/php-pear-db + SUBMENU:=PHP + SECTION:=lang + CATEGORY:=Languages + TITLE:=PEAR DB module + URL:=http://pear.php.net/package/DB + DEPENDS:=php-pear +endef + +define Build/Configure +endef + +define Build/Compile +endef + +define Package/php-pear-db/install + $(INSTALL_DIR) $(1)/usr/lib/php + $(CP) $(PKG_BUILD_DIR)/DB.php $(PKG_BUILD_DIR)/DB \ + $(1)/usr/lib/php/ +endef + +$(eval $(call BuildPackage,php-pear-db))