Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B49E8E00563; Fri, 8 Aug 2014 09:40:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mx-3.enea.com (sestofw01.enea.se [192.36.1.252]) by yocto-www.yoctoproject.org (Postfix) with SMTP id 3DC74E0054C for ; Fri, 8 Aug 2014 09:40:04 -0700 (PDT) Received: from sestofb10.enea.se (172.21.3.145) by smtp.enea.com (172.21.1.208) with Microsoft SMTP Server id 14.3.158.1; Fri, 8 Aug 2014 18:39:58 +0200 Received: by sestofb10.enea.se (Postfix, from userid 4454) id 97361288FDF; Fri, 8 Aug 2014 18:39:58 +0200 (CEST) From: "Maxin B. John" To: Date: Fri, 8 Aug 2014 18:39:49 +0200 Message-ID: <1407515991-63868-4-git-send-email-maxin.john@enea.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407515991-63868-1-git-send-email-maxin.john@enea.com> References: <1407515991-63868-1-git-send-email-maxin.john@enea.com> MIME-Version: 1.0 Received-SPF: None (SESTOEX08.enea.se: maxin.john@enea.com does not designate permitted sender hosts) Subject: [meta-oracle-java][PATCH 3/5] oracle-jse-jdk-x86-64: add custom fetch method X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2014 16:40:07 -0000 Content-Type: text/plain Provide a custom fetch method to avoid manual downloading of binaries. Signed-off-by: Maxin B. John --- recipes-devtools/oracle-java/oracle-jse-jdk-x86-64_1.7.0.bb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk-x86-64_1.7.0.bb b/recipes-devtools/oracle-java/oracle-jse-jdk-x86-64_1.7.0.bb index 7979401..6ee2002 100644 --- a/recipes-devtools/oracle-java/oracle-jse-jdk-x86-64_1.7.0.bb +++ b/recipes-devtools/oracle-java/oracle-jse-jdk-x86-64_1.7.0.bb @@ -1,4 +1,3 @@ -PR = "r0" PV_UPDATE = "25" require oracle-jse-jdk.inc @@ -7,3 +6,11 @@ SRC_URI = "http://download.oracle.com/otn-pub/java/jdk/7u25-b15/jdk-7u25-linux-x SRC_URI[md5sum] = "83ba05e260813f7a9140b76e3d37ea33" SRC_URI[sha256sum] = "f80dff0e19ca8d038cf7fe3aaa89538496b80950f4d10ff5f457988ae159b2a6" + +RDEPENDS_${PN} = "libxml2 libx11 glib-2.0 alsa-lib libxext libxtst libxrender" + +do_fetch () { + wget --header=Cookie:oraclelicense=a ${SRC_URI} -O ${DL_DIR}/jdk-7u25-linux-x64.tar.gz +} + +COMPATIBLE_HOST = '(x86_64.*)-(linux)' -- 1.9.1