From e7a11e43a25762899d80051106917dcc3e37dd54 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sun, 10 Mar 2013 12:00:50 +0100 Subject: openjdk7: get icedtea version from recipe name like openjdk6 --- recipes-core/openjdk/openjdk-7-common.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-core/openjdk/openjdk-7-common.inc') diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 3246814..a792907 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc @@ -4,8 +4,8 @@ LICENSE = "GPL-2.0-with-classpath-exception" PRIORITY = "optional" SECTION = "libs" -# Name of the icedtea tarball and top-level directory. -ICEDTEA = "NEEDS TO BE SET" +ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE'),d)[1].split("-")[1] or '1.0'}" +ICEDTEA = "icedtea-${ICEDTEA_VERSION}" S = "${WORKDIR}/${ICEDTEA}" B = "${S}/build" -- cgit v1.2.3-54-g00ecf