Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LIC_FILES_CHKSUM = "file://UNLICENCE;md5=61287f92700ec1bdf13bc86d8228cd13"
- SRC_URI="https://github.com/joan2937/pigpio/archive/V67.zip \
- file://myMakefile"
- SRC_URI[md5sum] = "1dff7b1e7f8def13861cc3d254c71d48"
- SRC_URI[sha256sum] = "ec87a25960cfd9958e830b641f632e19e713bc401c3140bc9c36486a3bf94779"
- # Make sure our source directory (for the build) matches the directory structure in the tarball
- S = "${WORKDIR}/pigpio-67"
- inherit pkgconfig
- TARGET_CC_ARCH += "${LDFLAGS}"
- do_configure_append(){
- cp ${WORKDIR}/myMakefile ${S}/Makefile
- }
- do_install(){
- oe_runmake install prefix=${prefix} DESTDIR=${D} includedir=${includedir} libdir=${libdir}
- }
- FILES_${PN} += "/opt/pigpio"
- FILES_${PN}-doc += "/usr/man/man1/ /usr/man/man3/"
Add Comment
Please, Sign In to add comment