3471a879701ad5190a3cc322ec50f35ebaf27872
[openwrt/svn-archive/archive.git] / lang / pear-db / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=pear-db
4 PKG_VERSION:=1.7.11
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=DB-$(PKG_VERSION).tgz
8 PKG_SOURCE_URL:=http://download.pear.php.net/package
9 PKG_MD5SUM:=a57302138757500706e075a4d3d87ef7
10 PKG_CAT:=zcat
11
12 PKG_BUILD_DIR:=$(BUILD_DIR)/DB-$(PKG_VERSION)
13 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/pear-db
18 DEPENDS:=+php5 +php-pear
19 SECTION:=lang
20 CATEGORY:=Languages
21 TITLE:=pear-db
22 DESCRIPTION:=\
23 pear-db
24 URL:=http://pear.php.net
25 endef
26
27 define Build/Configure
28 endef
29
30 define Build/Compile
31 endef
32
33 define Package/pear-db/install
34 $(INSTALL_DIR) $(1)/usr/lib/php
35 $(CP) -a $(PKG_BUILD_DIR)/DB.php $(PKG_BUILD_DIR)/DB \
36 $(1)/usr/lib/php
37 endef
38
39 $(eval $(call BuildPackage,pear-db))