Makefile.php (373:b09757e4984e) Makefile.php (489:ee3bc6d13ad8)
1MODULES+= php
2MODULE_SUFFIX_php= php
3
4MODULE_SUMMARY_php= PHP module for NGINX Unit
5
6MODULE_VERSION_php= $(VERSION)
7MODULE_RELEASE_php= 1
8
9MODULE_CONFARGS_php= php
10MODULE_MAKEARGS_php= php
11MODULE_INSTARGS_php= php-install
12
13MODULE_SOURCES_php= unit.example-php-app \
14 unit.example-php-config
15
16ifneq (,$(findstring $(CODENAME),trusty jessie))
1MODULES+= php
2MODULE_SUFFIX_php= php
3
4MODULE_SUMMARY_php= PHP module for NGINX Unit
5
6MODULE_VERSION_php= $(VERSION)
7MODULE_RELEASE_php= 1
8
9MODULE_CONFARGS_php= php
10MODULE_MAKEARGS_php= php
11MODULE_INSTARGS_php= php-install
12
13MODULE_SOURCES_php= unit.example-php-app \
14 unit.example-php-config
15
16ifneq (,$(findstring $(CODENAME),trusty jessie))
17BUILD_DEPENDS+= php5-dev libphp5-embed
17BUILD_DEPENDS_php= php5-dev libphp5-embed
18MODULE_BUILD_DEPENDS_php=,php5-dev,libphp5-embed
19MODULE_DEPENDS_php=,libphp5-embed
20else
18MODULE_BUILD_DEPENDS_php=,php5-dev,libphp5-embed
19MODULE_DEPENDS_php=,libphp5-embed
20else
21BUILD_DEPENDS+= php-dev libphp-embed
21BUILD_DEPENDS_php= php-dev libphp-embed
22MODULE_BUILD_DEPENDS_php=,php-dev,libphp-embed
23MODULE_DEPENDS_php=,libphp-embed
24endif
25
22MODULE_BUILD_DEPENDS_php=,php-dev,libphp-embed
23MODULE_DEPENDS_php=,libphp-embed
24endif
25
26BUILD_DEPENDS+= $(BUILD_DEPENDS_php)
27
26define MODULE_PREINSTALL_php
27 mkdir -p debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app
28 install -m 644 -p debian/unit.example-php-app debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app/index.php
29 install -m 644 -p debian/unit.example-php-config debian/unit-php/usr/share/doc/unit-php/examples/unit.config
30endef
31export MODULE_PREINSTALL_php
32
33define MODULE_POST_php

--- 17 unchanged lines hidden ---
28define MODULE_PREINSTALL_php
29 mkdir -p debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app
30 install -m 644 -p debian/unit.example-php-app debian/unit-php/usr/share/doc/unit-php/examples/phpinfo-app/index.php
31 install -m 644 -p debian/unit.example-php-config debian/unit-php/usr/share/doc/unit-php/examples/unit.config
32endef
33export MODULE_PREINSTALL_php
34
35define MODULE_POST_php

--- 17 unchanged lines hidden ---