Advertisement
Guest User

Untitled

a guest
May 21st, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. DESCRIPTION = "A minimalistic JSON parser in C"
  2. SECTION = "recipes-core"
  3. DEPENDS = ""
  4. RDEPENDS_${PV}=""
  5. LICENSE = "MIT"
  6. LIC_FILES_CHKSUM = "file://LICENSE;md5=5adc94605a1f7a797a9a834adbe335e3"
  7.  
  8. SRC_URI="git://github.com/zserge/jsmn.git \
  9. file://myMakefile \
  10. file://myjsmn.pc"
  11.  
  12. SRCREV = "732d283ee9a2e5c34c52af0e044850576888ab09"
  13.  
  14. inherit pkgconfig
  15.  
  16. # Make sure our source directory (for the build) matches the directory structure in the tarball
  17. S = "${WORKDIR}/git"
  18.  
  19. do_compile_prepend(){
  20. cp ${WORKDIR}/myMakefile ${S}/Makefile
  21. }
  22.  
  23. do_install(){
  24. oe_runmake install DESTDIR=${D}
  25. }
  26.  
  27. do_install_append(){
  28. install -d ${D}${libdir}/pkgconfig
  29. install -m 0644 ${WORKDIR}/myjsmn.pc ${D}${libdir}/pkgconfig/jsmn.pc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement