Guest User

Untitled

a guest
Jan 21st, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1.  
  2. SUMMARY = "ADD precompiled zulu jdk 11"
  3. DESCRIPTION = "description."
  4. LICENSE = "LGPLv3"
  5. LIC_FILES_CHKSUM = "file://lgpl-3.0.txt;md5=9ecdfacccbbdabe235f7c95b2bc48594"
  6.  
  7. S = "${WORKDIR}"
  8. SRC_URI = "file://zulu11.48.21-ca-jdk11.0.11-linux_aarch64.tar.gz \
  9. file://lgpl-3.0.txt"
  10.  
  11.  
  12. do_install () {
  13. install -d -m 0755 ${D}${datadir}/zulu11.48.21-ca-jdk11.0.11-linux_aarch64
  14. cp -a --no-preserve=ownership ${S}/zulu11.48.21-ca-jdk11.0.11-linux_aarch64/* ${D}${datadir}/zulu11.48.21-ca-jdk11.0.11-linux_aarch64
  15. install -d -m 0755 ${D}${bindir}
  16. ln -sr ${D}${datadir}/zulu11.48.21-ca-jdk11.0.11-linux_aarch64/bin/java ${D}${bindir}/java
  17. }
  18.  
  19. # All the files are provided in a binaray package, and keeping all the
  20. # files in a single package causes packaging QA errors and warnings.
  21. # Avoid these packaging failure by skiping all the QA checks
  22. INSANE_SKIP_${PN} = "${ERROR_QA} ${WARN_QA}"
  23.  
  24. FILES_${PN} += "/usr/"
  25. RPROVIDES_${PN} = "zulu-jdk11"
  26.  
  27.  
Advertisement
Add Comment
Please, Sign In to add comment