xref: /unit/pkg/rpm/Makefile.jsc-common (revision 980)
1*980Sdefan@nginx.comMODULES+=			jsc_common
2*980Sdefan@nginx.comMODULE_SUFFIX_jsc_common=	jsc-common
3*980Sdefan@nginx.com
4*980Sdefan@nginx.comMODULE_SUMMARY_jsc_common=	Java shared packages for NGINX Unit
5*980Sdefan@nginx.com
6*980Sdefan@nginx.comMODULE_VERSION_jsc_common=	$(VERSION)
7*980Sdefan@nginx.comMODULE_RELEASE_jsc_common=	1
8*980Sdefan@nginx.com
9*980Sdefan@nginx.comMODULE_CONFARGS_jsc_common=	java --home=/usr/lib/jvm/java-1.8.0 --jars=/usr/share/unit-jsc-common/
10*980Sdefan@nginx.comMODULE_MAKEARGS_jsc_common=	java
11*980Sdefan@nginx.comMODULE_INSTARGS_jsc_common=	java-shared-install
12*980Sdefan@nginx.com
13*980Sdefan@nginx.comMODULE_SOURCES_jsc_common=	COPYRIGHT.unit-jsc-common
14*980Sdefan@nginx.com
15*980Sdefan@nginx.comBUILD_DEPENDS_jsc_common=	java-1.8.0-openjdk-devel
16*980Sdefan@nginx.comBUILD_DEPENDS+=		$(BUILD_DEPENDS_jsc_common)
17*980Sdefan@nginx.com
18*980Sdefan@nginx.comdefine MODULE_DEFINITIONS_jsc_common
19*980Sdefan@nginx.comBuildArch: noarch
20*980Sdefan@nginx.comendef
21*980Sdefan@nginx.comexport MODULE_DEFINITIONS_jsc_common
22*980Sdefan@nginx.com
23*980Sdefan@nginx.comdefine MODULE_FILES_jsc_common
24*980Sdefan@nginx.com%dir %{_datadir}/unit-jsc-common
25*980Sdefan@nginx.com%{_datadir}/unit-jsc-common/*
26*980Sdefan@nginx.comendef
27*980Sdefan@nginx.comexport MODULE_FILES_jsc_common
28*980Sdefan@nginx.com
29*980Sdefan@nginx.comdefine MODULE_POST_jsc_common
30*980Sdefan@nginx.comcat <<BANNER
31*980Sdefan@nginx.com----------------------------------------------------------------------
32*980Sdefan@nginx.com
33*980Sdefan@nginx.comThe $(MODULE_SUMMARY_jsc_common) have been installed.
34*980Sdefan@nginx.com
35*980Sdefan@nginx.comPlease find licenses and related information here:
36*980Sdefan@nginx.com  /usr/share/doc/unit-jsc-common/COPYRIGHT
37*980Sdefan@nginx.com
38*980Sdefan@nginx.com----------------------------------------------------------------------
39*980Sdefan@nginx.comBANNER
40*980Sdefan@nginx.comendef
41*980Sdefan@nginx.comexport MODULE_POST_jsc_common
42