summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/Makefile.jsc-common
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2019-02-28 18:22:15 +0300
committerAndrei Belov <defan@nginx.com>2019-02-28 18:22:15 +0300
commit7ce6f0597543baee4275e8d66567d08f2ddaf48b (patch)
tree1ccc536803ebcfa99626770521c11674ccef5722 /pkg/deb/Makefile.jsc-common
parent834e8ca576868c5ecd104bd5ebec9968c7f80a0b (diff)
downloadunit-7ce6f0597543baee4275e8d66567d08f2ddaf48b.tar.gz
unit-7ce6f0597543baee4275e8d66567d08f2ddaf48b.tar.bz2
Packages: added unit-jsc (Java Servlet Container) family.
Diffstat (limited to 'pkg/deb/Makefile.jsc-common')
-rw-r--r--pkg/deb/Makefile.jsc-common28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkg/deb/Makefile.jsc-common b/pkg/deb/Makefile.jsc-common
new file mode 100644
index 00000000..902d60df
--- /dev/null
+++ b/pkg/deb/Makefile.jsc-common
@@ -0,0 +1,28 @@
+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= 1
+
+MODULE_CONFARGS_jsc_common= java --home=/usr/lib/jvm/java-8-openjdk-$$\(DEB_HOST_ARCH\) --jars=/usr/share/unit-jsc-common/
+MODULE_MAKEARGS_jsc_common= java
+MODULE_INSTARGS_jsc_common= java-shared-install
+
+BUILD_DEPENDS_jsc_common= openjdk-8-jdk-headless openjdk-8-jre-headless
+BUILD_DEPENDS+= $(BUILD_DEPENDS_jsc_common)
+
+MODULE_NOARCH_jsc_common= true
+
+define MODULE_POST_jsc_common
+cat <<BANNER
+----------------------------------------------------------------------
+
+The $(MODULE_SUMMARY_jsc_common) have been installed.
+Please find licenses and related information at: TBD.
+
+----------------------------------------------------------------------
+BANNER
+endef
+export MODULE_POST_jsc_common