Guest User

Untitled

a guest
Sep 22nd, 2020
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. ➜ hands-on cat workspace/recipes/ncurses-tetris/ncurses-tetris_git.bb
  2. # Recipe created by recipetool
  3. # This is the basis of a recipe and may need further editing in order to be fully functional.
  4. # (Feel free to remove these comments when editing.)
  5.  
  6. # Unable to find any files that looked like license statements. Check the accompanying
  7. # documentation and source headers and set LICENSE and LIC_FILES_CHKSUM accordingly.
  8. #
  9. # NOTE: LICENSE is being set to "CLOSED" to allow you to at least start building - if
  10. # this is not accurate with respect to the licensing of the software being built (it
  11. # will not be in most cases) you must specify the correct value before using this
  12. # recipe for anything other than initial testing/development!
  13. LICENSE = "CLOSED"
  14. LIC_FILES_CHKSUM = ""
  15.  
  16. SRC_URI = "git://github.com/WonYong-Jang/ncurses-tetris;protocol=https"
  17.  
  18. # Modify these as desired
  19. PV = "1.0+git${SRCPV}"
  20. SRCREV = "894755baa75438db47e88f0cffb0b155b457fe07"
  21.  
  22. S = "${WORKDIR}/git"
  23.  
  24. # NOTE: some of these dependencies may be optional, check the Makefile and/or upstream documentation
  25. DEPENDS = "ncurses"
  26.  
  27. # NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
  28. # recipe automatically - you will need to examine the Makefile yourself and ensure
  29. # that the appropriate arguments are passed in.
  30.  
  31. # Things I played around with, without success...
  32. # FILES_${PN} = "tetris"
  33. # PACKAGES += "${PN}"
  34.  
  35. do_configure () {
  36. # The guy who wrote this game had all the compiled object files in his repo, making it fail to make
  37. rm *.o
  38. }
  39.  
  40. do_compile () {
  41. # You will almost certainly need to add additional arguments here
  42. oe_runmake
  43. }
  44.  
  45. do_install () {
  46. # NOTE: unable to determine what to put here - there is a Makefile but no
  47. # target named "install", so you will need to define this yourself
  48. #
  49. # I guess this is the part where I need to do something useful, but I don't know what
  50. #
  51. #install -m 0644 ${S}/tetris ${D}{bindir}
  52. #install -d ${D}${base_bindir}
  53. :
  54. }
  55.  
Add Comment
Please, Sign In to add comment