Guest User

Untitled

a guest
Mar 30th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. LIC_FILES_CHKSUM = "file://UNLICENCE;md5=61287f92700ec1bdf13bc86d8228cd13"
  2.  
  3. SRC_URI="https://github.com/joan2937/pigpio/archive/V67.zip \
  4. file://myMakefile"
  5.  
  6. SRC_URI[md5sum] = "1dff7b1e7f8def13861cc3d254c71d48"
  7. SRC_URI[sha256sum] = "ec87a25960cfd9958e830b641f632e19e713bc401c3140bc9c36486a3bf94779"
  8.  
  9. # Make sure our source directory (for the build) matches the directory structure in the tarball
  10. S = "${WORKDIR}/pigpio-67"
  11.  
  12.  
  13. inherit pkgconfig
  14.  
  15. TARGET_CC_ARCH += "${LDFLAGS}"
  16.  
  17. do_configure_append(){
  18. cp ${WORKDIR}/myMakefile ${S}/Makefile
  19. }
  20.  
  21. do_install(){
  22. oe_runmake install prefix=${prefix} DESTDIR=${D} includedir=${includedir} libdir=${libdir}
  23. }
  24.  
  25. FILES_${PN} += "/opt/pigpio"
  26. FILES_${PN}-doc += "/usr/man/man1/ /usr/man/man3/"
Add Comment
Please, Sign In to add comment