luafilesystem_git.bb 1005 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. LICENSE = "MIT"
  2. LIC_FILES_CHKSUM = "file://LICENSE;md5=d9b7e441d51a96b17511ee3be5a75857"
  3. DEPENDS = "lua"
  4. SRC_URI = "git://github.com/keplerproject/luafilesystem;protocol=https \
  5. file://0001-Fix-for-OE.patch"
  6. # Modify these as desired
  7. PV = "1.0+git${SRCPV}"
  8. SRCREV = "1dfb8c41e8a7e689959baeaf2961437db9615f74"
  9. inherit pkgconfig
  10. S = "${WORKDIR}/git"
  11. EXTRA_OEMAKE = 'PREFIX=${D}/usr BASELIB=${base_libdir} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} -fpic" LDFLAGS="${LDFLAGS}"'
  12. # NOTE: this is a Makefile-only piece of software, so we cannot generate much of the
  13. # recipe automatically - you will need to examine the Makefile yourself and ensure
  14. # that the appropriate arguments are passed in.
  15. FILES:${PN} = "${libdir} ${datadir}/lua"
  16. do_configure () {
  17. # Specify any needed configure commands here
  18. :
  19. }
  20. do_compile () {
  21. # You will almost certainly need to add additional arguments here
  22. oe_runmake
  23. }
  24. do_install () {
  25. # This is a guess; additional arguments may be required
  26. oe_runmake install
  27. }