jlex: set unique file name for download
PATCH 1/1 jlex: set unique file name for download
From: Vyacheslav Yurkov <[email protected]>
Signed-off-by Vyacheslav Yurkov <[email protected]>
--- recipes-core/jlex/jlex_1.2.6.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
recipes-core/jlex/jlex_1.2.6.bb +5 -2
@@ -1,7 +1,9 @@ SUMMARY = "Lexical analyzer generator for Java" AUTHOR = "Elliot Berk, A. Appel, C. Scott Ananian" + +JLEX_MAIN_FILENAME = "jlex-${PV}-Main.java" LICENSE = "JLEX" -LIC_FILES_CHKSUM = "file://Main.java;beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" +LIC_FILES_CHKSUM = "file://${JLEX_MAIN_FILENAME};beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" PACKAGE_ARCH = "${TUNE_PKGARCH}"
@@ -10,7 +12,7 @@ RDEPENDS_${PN}_class-native = "" inherit java-library -SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java \ +SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java;downloadfilename=${JLEX_MAIN_FILENAME} \ file://jlex \ "
@@ -26,6 +28,7 @@ do_configure() { do_compile() { mkdir -p build + cp ${JLEX_MAIN_FILENAME} Main.java javac -d build Main.java
Signature · 1 line
2.25.1
Hi,
thank you for your patch!
This is a note to let you know that I've just added this patch to the master-next branch of the meta-java repository at
git://git.yoctoproject.org/meta-java
As soon as it has gone through some more testing it will likely be merged to the master branch.
If you have any questions, please let me know.
regards;rl
Quoted 42 lines · Vyacheslav Yurkov
From: Vyacheslav Yurkov <[email protected]>
Signed-off-by Vyacheslav Yurkov <[email protected]>--- recipes-core/jlex/jlex_1.2.6.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)recipes-core/jlex/jlex_1.2.6.bb +5
-2@@ -1,7 +1,9 @@ SUMMARY = "Lexical analyzer generator for Java" AUTHOR = "Elliot Berk, A. Appel, C. Scott Ananian" + +JLEX_MAIN_FILENAME = "jlex-${PV}-Main.java" LICENSE = "JLEX" -LIC_FILES_CHKSUM = "file://Main.java;beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" +LIC_FILES_CHKSUM = "file://${JLEX_MAIN_FILENAME};beginline=148;endline=166;md5=9bf4a6a951053991db64f9d7330d648a" PACKAGE_ARCH = "${TUNE_PKGARCH}"@@ -10,7 +12,7 @@ RDEPENDS_${PN}_class-native = "" inherit java-library -SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java \ +SRC_URI = "http://www.cs.princeton.edu/~appel/modern/java/JLex/Archive/${PV}/Main.java;downloadfilename=${JLEX_MAIN_FILENAME} \ file://jlex \ "@@ -26,6 +28,7 @@ do_configure() { do_compile() { mkdir -p build + cp ${JLEX_MAIN_FILENAME} Main.java javac -d build Main.javaSignature · 1 line
2.25.1