Makefile.jsc11 (1144:b651ff72ffe0) Makefile.jsc11 (1160:67ba8e19b286)
1MODULES+= jsc11
2MODULE_SUFFIX_jsc11= jsc11
3
4MODULE_SUMMARY_jsc11= Java 11 module for NGINX Unit
5
6MODULE_VERSION_jsc11= $(VERSION)
1MODULES+= jsc11
2MODULE_SUFFIX_jsc11= jsc11
3
4MODULE_SUMMARY_jsc11= Java 11 module for NGINX Unit
5
6MODULE_VERSION_jsc11= $(VERSION)
7MODULE_RELEASE_jsc11= 2
7MODULE_RELEASE_jsc11= 1
8
8
9MODULE_CONFARGS_jsc11= java --module=java11 --home=/usr/lib/jvm/java-11 --jars=/usr/share/unit-jsc-common/
9MODULE_CONFARGS_jsc11= java --module=java11 --home=/usr/lib/jvm/java-11 --lib-path=/usr/lib/jvm/jre-11/lib/server --jars=/usr/share/unit-jsc-common/
10MODULE_MAKEARGS_jsc11= java11
11MODULE_INSTARGS_jsc11= java11-install
12
13MODULE_SOURCES_jsc11= unit.example-jsc-app \
14 unit.example-jsc11-config
15
16BUILD_DEPENDS_jsc11= java-11-openjdk-devel
17BUILD_DEPENDS+= $(BUILD_DEPENDS_jsc11)
18
19define MODULE_DEFINITIONS_jsc11
20Requires: unit-jsc-common == $(MODULE_VERSION_jsc_common)-$(MODULE_RELEASE_jsc_common)%{?dist}.ngx
10MODULE_MAKEARGS_jsc11= java11
11MODULE_INSTARGS_jsc11= java11-install
12
13MODULE_SOURCES_jsc11= unit.example-jsc-app \
14 unit.example-jsc11-config
15
16BUILD_DEPENDS_jsc11= java-11-openjdk-devel
17BUILD_DEPENDS+= $(BUILD_DEPENDS_jsc11)
18
19define MODULE_DEFINITIONS_jsc11
20Requires: unit-jsc-common == $(MODULE_VERSION_jsc_common)-$(MODULE_RELEASE_jsc_common)%{?dist}.ngx
21Requires: java-11-headless
21endef
22export MODULE_DEFINITIONS_jsc11
23
24define MODULE_PREINSTALL_jsc11
25%{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-jsc11/examples/jsc-app
26%{__install} -m 644 -p %{SOURCE100} \
27 %{buildroot}%{_datadir}/doc/unit-jsc11/examples/jsc-app/index.jsp
28%{__install} -m 644 -p %{SOURCE101} \

--- 41 unchanged lines hidden ---
22endef
23export MODULE_DEFINITIONS_jsc11
24
25define MODULE_PREINSTALL_jsc11
26%{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-jsc11/examples/jsc-app
27%{__install} -m 644 -p %{SOURCE100} \
28 %{buildroot}%{_datadir}/doc/unit-jsc11/examples/jsc-app/index.jsp
29%{__install} -m 644 -p %{SOURCE101} \

--- 41 unchanged lines hidden ---