Advertisement
Guest User

pjsip-recip.bb

a guest
Mar 17th, 2017
697
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. DESCRIPTION = "Open source SIP stack and media stack for presence, im/instant \
  2. messaging, and multimedia communication"
  3. SECTION = "libs"
  4. HOMEPAGE = "http://www.pjsip.org/"
  5. LICENSE = "GPLv3"
  6.  
  7. DEPENDS = "alsa-lib openssl"
  8.  
  9. PARALLEL_MAKE = ""
  10.  
  11. SRC_URI = "http://www.pjsip.org/release/${PV}/pjproject-${PV}.tar.bz2 "
  12. SRC_URI[md5sum] = "c347a672679e7875ce572e18517884b2"
  13. SRC_URI[sha256sum] = "2f5a1da1c174d845871c758bd80fbb580fca7799d3cfaa0d3c4e082b5161c7b4"
  14. LIC_FILES_CHKSUM = "file://MD5SUM.TXT;md5=xxx"
  15.  
  16. S = "${WORKDIR}/pjproject-${PV}"
  17.  
  18. inherit autotools pkgconfig pythonnative
  19.  
  20. EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
  21.  
  22. do_configure_prepend () {
  23. export LD="${CC}"
  24. }
  25.  
  26. do_compile_append() {
  27. export BUILD_SYS
  28. export HOST_SYS
  29. export STAGING_INCDIR
  30. export STAGING_LIBDIR
  31.  
  32. cd ${S}/pjsip-apps/src/python
  33. oe_runmake
  34. }
  35.  
  36. do_compile_prepend() {
  37. oe_runmake dep
  38. }
  39.  
  40. do_install_prepend() {
  41. install -d ${D}/usr/bin
  42. install -m 755 ${S}/pjsip-apps/bin/pj* ${D}/usr/bin
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement