From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eu1sys200aog116.obsmtp.com ([207.126.144.141]) by metis.ext.pengutronix.de with smtp (Exim 4.72) (envelope-from ) id 1YAjPV-0002VO-Up for ptxdist@pengutronix.de; Mon, 12 Jan 2015 19:08:18 +0100 Received: by mail-wg0-f54.google.com with SMTP id z12so20821334wgg.13 for ; Mon, 12 Jan 2015 10:08:17 -0800 (PST) From: Martin Hejnfelt Date: Mon, 12 Jan 2015 19:07:55 +0100 Message-Id: <1421086075-22712-2-git-send-email-mh@newtec.dk> In-Reply-To: <1421086075-22712-1-git-send-email-mh@newtec.dk> References: <[oracle java7 jre 1/1] Added Oracles Java 7 JRE> <1421086075-22712-1-git-send-email-mh@newtec.dk> Subject: [ptxdist] [oracle java7 jre 1/1] Added Oracles Java 7 JRE Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Martin Hejnfelt Signed-off-by: Martin Hejnfelt --- :000000 100644 0000000... d9c32c0... A rules/oracle-java7-jre.in :000000 100644 0000000... ab8af1e... A rules/oracle-java7-jre.make rules/oracle-java7-jre.in | 10 ++++++ rules/oracle-java7-jre.make | 87 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) diff --git a/rules/oracle-java7-jre.in b/rules/oracle-java7-jre.in new file mode 100644 index 0000000..d9c32c0 --- /dev/null +++ b/rules/oracle-java7-jre.in @@ -0,0 +1,10 @@ +## SECTION=bytecode_engines + +config ORACLE_JAVA7_JRE + bool + + prompt "oracle java7 jre " + help + Oracle[tm] Java Runtime Environment 7 + This downloads the binary distribution + and extracts into the target prefix. diff --git a/rules/oracle-java7-jre.make b/rules/oracle-java7-jre.make new file mode 100644 index 0000000..ab8af1e --- /dev/null +++ b/rules/oracle-java7-jre.make @@ -0,0 +1,87 @@ +# -*-makefile-*- +# +# Copyright (C) 2014 by Martin Hejnfelt +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_ARCH_X86)-$(PTXCONF_ORACLE_JAVA7_JRE) += oracle-java7-jre + +# +# Paths and names +# +ifdef PTXCONF_ARCH_X86_64 +ORACLE_JAVA7_JRE_ARCH := x64 +ORACLE_JAVA7_JRE_MD5 := 9007c79167be0177fb47e5313c53d5cb +else +ORACLE_JAVA7_JRE_ARCH := i586 +ORACLE_JAVA7_JRE_MD5 := 2a256eb2a91f0084e58c612636342c2b +endif + +ORACLE_JAVA7_JRE_VERSION := 7u67 + +ORACLE_JAVA7_JRE := jre-$(ORACLE_JAVA7_JRE_VERSION)-linux-$(ORACLE_JAVA7_JRE_ARCH) +ORACLE_JAVA7_JRE_SUFFIX := tar.gz +ORACLE_JAVA7_JRE_URL := http://download.oracle.com/otn-pub/java/jdk/$(ORACLE_JAVA7_JRE_VERSION)-b01/$(ORACLE_JAVA7_JRE).$(ORACLE_JAVA7_JRE_SUFFIX);cookie:oraclelicense=accept-securebackup-cookie +ORACLE_JAVA7_JRE_SOURCE := $(SRCDIR)/$(ORACLE_JAVA7_JRE).$(ORACLE_JAVA7_JRE_SUFFIX) +ORACLE_JAVA7_JRE_DIR := $(BUILDDIR)/$(ORACLE_JAVA7_JRE) +ORACLE_JAVA7_JRE_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +ORACLE_JAVA7_JRE_CONF_TOOL := NO + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/oracle-java7-jre.compile: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/oracle-java7-jre.install: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/oracle-java7-jre.targetinstall: + @$(call targetinfo) + + @$(call install_init, oracle-java7-jre) + @$(call install_fixup, oracle-java7-jre,PRIORITY,optional) + @$(call install_fixup, oracle-java7-jre,SECTION,base) + @$(call install_fixup, oracle-java7-jre,AUTHOR,"Martin Hejnfelt ") + @$(call install_fixup, oracle-java7-jre,DESCRIPTION,"Oracle Java 7 Runtime Environment") + + @$(call install_tree, oracle-java7-jre, -, -, \ + $(ORACLE_JAVA7_JRE_DIR), \ + /usr/lib/jvm/jre-$(ORACLE_JAVA7_JRE_VERSION)) + + @$(call install_link, oracle-java7-jre, \ + /usr/lib/jvm/jre-$(ORACLE_JAVA7_JRE_VERSION)/bin/java, \ + /usr/bin/java) + + @$(call install_link, oracle-java7-jre, \ + /usr/lib/jvm/jre-$(ORACLE_JAVA7_JRE_VERSION)/bin/javaws, \ + /usr/bin/javaws) + + @$(call install_finish, oracle-java7-jre) + + @$(call touch) + +# vim: syntax=make -- 1.9.1 -- ptxdist mailing list ptxdist@pengutronix.de