Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 20th, 2014  |  syntax: None  |  size: 2.32 KB  |  views: 137  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # recipes from openembedded
  2.  
  3. DESCRIPTION = "OmniORB High Performance ORB"
  4. SECTION = "devel"
  5. PRIORITY = "optional"
  6. LICENSE = "LGPL"
  7. DEPENDS += "omniorb-native"
  8. DEPENDS_virtclass-native += "python-native"
  9. DEPENDS_virtclass-nativesdk += "python-native"
  10. PR = "r2"
  11.  
  12. SRC_URI = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \
  13. file://omniorb_4.1.4.patch \
  14. file://omniORB.cfg \
  15. file://omniORB-cross.patch \
  16. file://omniORB_embedded_appl.patch \
  17. file://rm_LongDouble.patch \
  18. "
  19. SRC_URI_virtclass-native = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \
  20.           file://omniorb_4.1.4.patch \
  21. "
  22. SRC_URI_virtclass-nativesdk = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \
  23.           file://omniorb_4.1.4.patch \
  24. "
  25.  
  26.  
  27. SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a"
  28. SRC_URI[omniORB414targz.sha256sum] = "84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e"
  29.  
  30. S = "${WORKDIR}/omniORB-${PV}"
  31.  
  32. FILES_${PN}-dev += "${datadir}/idl/omniORB/* ${datadir}/idl/omniORB/cos/*"
  33. TARGET_CC_ARCH += "${LDFLAGS}"
  34.  
  35. inherit autotools pkgconfig
  36.  
  37. do_compile () {
  38.         export EmbeddedSystem=1
  39.         export TOOLBINDIR=${STAGING_BINDIR_NATIVE}
  40.         oe_runmake
  41.        
  42. }
  43.  
  44. do_compile_virtclass-native() {
  45.         oe_runmake
  46. }
  47.  
  48. do_compile_virtclass-nativesdk() {
  49.         oe_runmake
  50. }
  51.  
  52. do_install () {
  53.         # Set a variable that the Makefiles obey for install.
  54.         export EmbeddedSystem=1
  55.         autotools_do_install
  56.         install -d ${D}${sysconfdir}
  57.         install -m 0644 ${WORKDIR}/omniORB.cfg ${D}${sysconfdir}
  58.         install -d ${D}${localstatedir}/omninames
  59.        
  60.         #only executable libraries are stripped by the stripper
  61.         chmod +x ${WORKDIR}/image/usr/lib/lib*
  62. }
  63.  
  64. do_install_virtclass-native() {
  65.         autotools_do_install
  66.  
  67.         # Ugly hack so libtool does not find native libs when building cross
  68.         # packages We really only build this package for omniidl anyway
  69.         rm -f  ${D}${libdir}/libomni*
  70. }
  71.  
  72. do_install_virtclass-nativesdk() {
  73.         autotools_do_install
  74.  
  75.         # Ugly hack so libtool does not find native libs when building cross
  76.         # packages We really only build this package for omniidl anyway
  77.         rm -f  ${D}${libdir}/libomni*
  78. }
  79.  
  80. BBCLASSEXTEND = "native"
  81.  
  82. NATIVE_INSTALL_WORKS = "1"
clone this paste RAW Paste Data