summaryrefslogblamecommitdiffhomepage
path: root/pkg/rpm/Makefile.jsc-common
blob: 9c7e9164acddd4e88cea4b1ffd1e3bfe2eab002b (plain) (tree)
1
2
3
4
5
6
7





                                                                   
                                 

































                                                                                                      
MODULES+=			jsc_common
MODULE_SUFFIX_jsc_common=	jsc-common

MODULE_SUMMARY_jsc_common=	Java shared packages for NGINX Unit

MODULE_VERSION_jsc_common=	$(VERSION)
MODULE_RELEASE_jsc_common=	2

MODULE_CONFARGS_jsc_common=	java --home=/usr/lib/jvm/java-1.8.0 --jars=/usr/share/unit-jsc-common/
MODULE_MAKEARGS_jsc_common=	java
MODULE_INSTARGS_jsc_common=	java-shared-install

MODULE_SOURCES_jsc_common=	COPYRIGHT.unit-jsc-common

BUILD_DEPENDS_jsc_common=	java-1.8.0-openjdk-devel
BUILD_DEPENDS+=		$(BUILD_DEPENDS_jsc_common)

define MODULE_DEFINITIONS_jsc_common
BuildArch: noarch
endef
export MODULE_DEFINITIONS_jsc_common

define MODULE_FILES_jsc_common
%dir %{_datadir}/unit-jsc-common
%{_datadir}/unit-jsc-common/*
endef
export MODULE_FILES_jsc_common

define MODULE_POST_jsc_common
cat <<BANNER
----------------------------------------------------------------------

The $(MODULE_SUMMARY_jsc_common) have been installed.

Please find licenses and related information here:
  /usr/share/doc/unit-jsc-common/COPYRIGHT

----------------------------------------------------------------------
BANNER
endef
export MODULE_POST_jsc_common