summaryrefslogtreecommitdiff
path: root/package/php/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-21 18:50:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-21 18:50:27 +0100
commit1e61baba6fbd311204d62495da962622e6cb5b9a (patch)
tree828a0dbad9cfe5a95b34c6f6680a4fb5cc608b80 /package/php/Makefile
parent50e12da85d6512b9016b4ca7e130b5b32e49524e (diff)
disable obsolete options, add a generic php package with example config
Diffstat (limited to 'package/php/Makefile')
-rw-r--r--package/php/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/php/Makefile b/package/php/Makefile
index 34281b4ac..be047a14a 100644
--- a/package/php/Makefile
+++ b/package/php/Makefile
@@ -48,6 +48,7 @@ PKG_DESCR_FCGI:= PHP for FastCGI usage
include $(TOPDIR)/mk/package.mk
+$(eval $(call PKG_template,PHP,php,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PHP_CLI,php-cli,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,PHP_FASTCGI,php-fastcgi,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_FCGI},${PKG_SECTION}))
@@ -189,8 +190,8 @@ CONFIGURE_ENV+= LIBS="-ldl"
CONFIGURE_ARGS+= $(PKG_CONFIGURE_OPTS)
do-install: ${INSTALL_MODS_y} ${INSTALL_MODS_m}
- ${INSTALL_DIR} $(IDIR_PHP_CLI)/etc
- ${INSTALL_DATA} ./files/php.ini $(IDIR_PHP_CLI)/etc/
+ ${INSTALL_DIR} $(IDIR_PHP)/etc
+ ${INSTALL_DATA} ./files/php.ini $(IDIR_PHP)/etc/
${INSTALL_DIR} $(IDIR_PHP_CLI)/usr/bin
${INSTALL_BIN} $(WRKBUILD)/sapi/cli/php $(IDIR_PHP_CLI)/usr/bin/php
${INSTALL_DIR} $(IDIR_PHP_FASTCGI)/etc