Makefile.jsc8 (980:e1c4434c1060) Makefile.jsc8 (989:536ccd99d2e3)
1MODULES+= jsc8
2MODULE_SUFFIX_jsc8= jsc8
3
4MODULE_SUMMARY_jsc8= Java 8 module for NGINX Unit
5
6MODULE_VERSION_jsc8= $(VERSION)
7MODULE_RELEASE_jsc8= 1
8

--- 13 unchanged lines hidden (view full) ---

22export MODULE_DEFINITIONS_jsc8
23
24define MODULE_PREINSTALL_jsc8
25%{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-jsc8/examples/jsc-app
26%{__install} -m 644 -p %{SOURCE100} \
27 %{buildroot}%{_datadir}/doc/unit-jsc8/examples/jsc-app/index.jsp
28%{__install} -m 644 -p %{SOURCE101} \
29 %{buildroot}%{_datadir}/doc/unit-jsc8/examples/unit.config
1MODULES+= jsc8
2MODULE_SUFFIX_jsc8= jsc8
3
4MODULE_SUMMARY_jsc8= Java 8 module for NGINX Unit
5
6MODULE_VERSION_jsc8= $(VERSION)
7MODULE_RELEASE_jsc8= 1
8

--- 13 unchanged lines hidden (view full) ---

22export MODULE_DEFINITIONS_jsc8
23
24define MODULE_PREINSTALL_jsc8
25%{__mkdir} -p %{buildroot}%{_datadir}/doc/unit-jsc8/examples/jsc-app
26%{__install} -m 644 -p %{SOURCE100} \
27 %{buildroot}%{_datadir}/doc/unit-jsc8/examples/jsc-app/index.jsp
28%{__install} -m 644 -p %{SOURCE101} \
29 %{buildroot}%{_datadir}/doc/unit-jsc8/examples/unit.config
30%{__install} -m 644 -p %{bdir}/src/java/README.JSR-340 \
31 %{buildroot}%{_datadir}/doc/unit-jsc8/
30endef
31export MODULE_PREINSTALL_jsc8
32
33define MODULE_POSTINSTALL_jsc8
34DESTDIR=%{buildroot} make java-shared-uninstall
35endef
36export MODULE_POSTINSTALL_jsc8
37

--- 16 unchanged lines hidden (view full) ---

54
55 sudo service unit restart
56 cd /usr/share/doc/%{name}/examples
57 sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localhost/config
58 curl http://localhost:8800/
59
60Online documentation is available at https://unit.nginx.org
61
32endef
33export MODULE_PREINSTALL_jsc8
34
35define MODULE_POSTINSTALL_jsc8
36DESTDIR=%{buildroot} make java-shared-uninstall
37endef
38export MODULE_POSTINSTALL_jsc8
39

--- 16 unchanged lines hidden (view full) ---

56
57 sudo service unit restart
58 cd /usr/share/doc/%{name}/examples
59 sudo curl -X PUT --data-binary @unit.config --unix-socket /var/run/unit/control.sock http://localhost/config
60 curl http://localhost:8800/
61
62Online documentation is available at https://unit.nginx.org
63
64`cat /usr/share/doc/unit-jsc8/README.JSR-340`
65
62----------------------------------------------------------------------
63BANNER
64endef
65export MODULE_POST_jsc8
66----------------------------------------------------------------------
67BANNER
68endef
69export MODULE_POST_jsc8