Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ hands-on cat workspace/recipes/ncurses-tetris/ncurses-tetris_git.bb
- # Recipe created by recipetool
- # This is the basis of a recipe and may need further editing in order to be fully functional.
- # (Feel free to remove these comments when editing.)
- # Unable to find any files that looked like license statements. Check the accompanying
- # documentation and source headers and set LICENSE and LIC_FILES_CHKSUM accordingly.
- #
- # NOTE: LICENSE is being set to "CLOSED" to allow you to at least start building - if
- # this is not accurate with respect to the licensing of the software being built (it
- # will not be in most cases) you must specify the correct value before using this
- # recipe for anything other than initial testing/development!
- LICENSE = "CLOSED"
- LIC_FILES_CHKSUM = ""
- SRC_URI = "git://github.com/WonYong-Jang/ncurses-tetris;protocol=https"
- # Modify these as desired
- PV = "1.0+git${SRCPV}"
- SRCREV = "894755baa75438db47e88f0cffb0b155b457fe07"
- S = "${WORKDIR}/git"
- # NOTE: some of these dependencies may be optional, check the Makefile and/or upstream documentation
- DEPENDS = "ncurses"
- # NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
- # recipe automatically - you will need to examine the Makefile yourself and ensure
- # that the appropriate arguments are passed in.
- # Things I played around with, without success...
- # FILES_${PN} = "tetris"
- # PACKAGES += "${PN}"
- do_configure () {
- # The guy who wrote this game had all the compiled object files in his repo, making it fail to make
- rm *.o
- }
- do_compile () {
- # You will almost certainly need to add additional arguments here
- oe_runmake
- }
- do_install () {
- # NOTE: unable to determine what to put here - there is a Makefile but no
- # target named "install", so you will need to define this yourself
- #
- # I guess this is the part where I need to do something useful, but I don't know what
- #
- #install -m 0644 ${S}/tetris ${D}{bindir}
- #install -d ${D}${base_bindir}
- :
- }
Add Comment
Please, Sign In to add comment