summaryrefslogtreecommitdiff
path: root/package/php
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2009-12-19 22:53:46 +0059
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-20 10:35:02 +0100
commit1c8d49e1ee453e44af6c57f10e8b929d5ccdd3a2 (patch)
treead61904908c100a16ef60192fbe0676a79a2d877 /package/php
parent72ea86f8f4d9a00ca5f509eba515b38968924172 (diff)
create package/Depends.mk dynamically; add PKG_BUILDDEP to all Makefiles
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'package/php')
-rw-r--r--package/php/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/php/Makefile b/package/php/Makefile
index 9a479fb5d..d5b00c054 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -6,6 +6,34 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= php
PKG_VERSION:= 5.3.1
PKG_RELEASE:= 1
+PKG_BUILDDEP+= openssl zlib
+ifneq ($(ADK_PACKAGE_PHP_MOD_CURL),)
+PKG_BUILDDEP+= curl
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_GD),)
+PKG_BUILDDEP+= libgd libpng
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_GMP),)
+PKG_BUILDDEP+= gmp
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_LDAP),)
+PKG_BUILDDEP+= openldap
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_MYSQL),)
+PKG_BUILDDEP+= mysql
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_PCRE),)
+PKG_BUILDDEP+= pcre
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_PGSQL),)
+PKG_BUILDDEP+= postgresql
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_SQLITE),)
+PKG_BUILDDEP+= sqlite
+endif
+ifneq ($(ADK_PACKAGE_PHP_MOD_XML),)
+PKG_BUILDDEP+= expat
+endif
PKG_MD5SUM:= 41fbb368d86acb13fc3519657d277681
PKG_DESCR:= PHP CLI
PKG_SECTION:= net