move php related packages in a 'PHP' submenu, cleanup
[openwrt/svn-archive/archive.git] / lang / pear-db / Makefile
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 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=php-pear-db
12 PKG_VERSION:=1.7.11
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=DB-$(PKG_VERSION).tgz
16 PKG_SOURCE_URL:=http://download.pear.php.net/package
17 PKG_MD5SUM:=a57302138757500706e075a4d3d87ef7
18
19 PKG_BUILD_DIR:=$(BUILD_DIR)/DB-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/php-pear-db
24 SUBMENU:=PHP
25 SECTION:=lang
26 CATEGORY:=Languages
27 TITLE:=PEAR DB module
28 URL:=http://pear.php.net/
29 DEPENDS:=php-pear
30 endef
31
32 define Build/Configure
33 endef
34
35 define Build/Compile
36 endef
37
38 define Package/php-pear-db/install
39 $(INSTALL_DIR) $(1)/usr/lib/php
40 $(CP) $(PKG_BUILD_DIR)/DB.php $(PKG_BUILD_DIR)/DB \
41 $(1)/usr/lib/php/
42 endef
43
44 $(eval $(call BuildPackage,php-pear-db))