luasocket_git.bb 722 B

123456789101112131415161718192021222324252627282930313233343536
  1. LICENSE = "MIT"
  2. LIC_FILES_CHKSUM = "file://LICENSE;md5=ab6706baf6d39a6b0fa2613a3b0831e7"
  3. DEPENDS = "lua"
  4. RDEPENDS_${PN} += "lua"
  5. SRC_URI = "git://github.com/diegonehab/luasocket;protocol=https \
  6. file://0001-fix-for-OE.patch \
  7. "
  8. # Modify these as desired
  9. PV = "0.0+git${SRCPV}"
  10. SRCREV = "652959890943c34d7180cae372339b91e62f0d7b"
  11. S = "${WORKDIR}/git"
  12. FILES_${PN} = "${libdir} ${datadir}/lua"
  13. EXTRA_OEMAKE = 'DESTDIR=${D} PREFIX=/usr CC="${CC}" LD="${CC}" MYLDFLAGS="${LDFLAGS}"'
  14. inherit pkgconfig
  15. do_configure () {
  16. }
  17. do_compile () {
  18. # You will almost certainly need to add additional arguments here
  19. oe_runmake
  20. }
  21. do_install () {
  22. # This is a guess; additional arguments may be required
  23. oe_runmake install
  24. }