diff options
author | Philip Balister <philip@balister.org> | 2010-03-05 02:24:14 -0500 |
---|---|---|
committer | Philip Balister <philip@balister.org> | 2010-03-05 02:24:14 -0500 |
commit | 2cdfa33e57e80ac236274343a5635ce9a6de380e (patch) | |
tree | 1dc7bf2976f0fe00acf2e1c9db2c33a4e7028bb4 /recipes/omniorb | |
parent | 1b059c506195656ad96ac4401b1e5fb710c3a38f (diff) |
omniorb : Update to version 4.1.4
* Recipe from majo.huber@googlemail.com
* Recipe needs updating to BBCLASSEXTEND, but I wanted to get it in first.
Diffstat (limited to 'recipes/omniorb')
-rw-r--r-- | recipes/omniorb/files/omniorb_4.1.4.patch | 13 | ||||
-rw-r--r-- | recipes/omniorb/omniorb-native_4.1.4.bb | 23 | ||||
-rw-r--r-- | recipes/omniorb/omniorb_4.1.4.bb | 45 |
3 files changed, 81 insertions, 0 deletions
diff --git a/recipes/omniorb/files/omniorb_4.1.4.patch b/recipes/omniorb/files/omniorb_4.1.4.patch new file mode 100644 index 0000000000..352119873e --- /dev/null +++ b/recipes/omniorb/files/omniorb_4.1.4.patch @@ -0,0 +1,13 @@ +diff -aur --recursive omniorb_native_org/configure.ac omniorb_native_cop/configure.ac +--- omniorb_native_org/configure.ac 2010-02-19 14:00:06.905777529 +0100 ++++ omniorb_native_cop/configure.ac 2010-02-19 13:38:20.000000000 +0100 +@@ -10,6 +10,7 @@ + + AC_CONFIG_HEADERS(include/omniORB4/acconfig.h) + ++m4_pattern_allow(PKG_CONFIG_LIBDIR) + dnl ** CFLAGS / CXXFLAGS + + if test "${CFLAGS+set}" != set; then + ############################################################################# + #
\ No newline at end of file diff --git a/recipes/omniorb/omniorb-native_4.1.4.bb b/recipes/omniorb/omniorb-native_4.1.4.bb new file mode 100644 index 0000000000..c06a74a676 --- /dev/null +++ b/recipes/omniorb/omniorb-native_4.1.4.bb @@ -0,0 +1,23 @@ +SECTION = "devel" +DEPENDS += "python-native" +PR = "r0" + +SRC_URI = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \ + file://omniorb_4.1.4.patch;patch=1 \ +" + +SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a" +SRC_URI[omniORB414targz.sha256sum] = "84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e" + +S = "${WORKDIR}/omniORB-${PV}" + +inherit native autotools + +do_compile () { + oe_runmake +} +# Ugly hack so libtool does not find native libs when building cross packages +# We really only build this package for omniidl anyway +do_stage_append() { + rm -f ${STAGING_LIBDIR_NATIVE}/libomni* +} diff --git a/recipes/omniorb/omniorb_4.1.4.bb b/recipes/omniorb/omniorb_4.1.4.bb new file mode 100644 index 0000000000..3d0c43ce17 --- /dev/null +++ b/recipes/omniorb/omniorb_4.1.4.bb @@ -0,0 +1,45 @@ +DESCRIPTION = "OmniORB High Performance ORB" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "LGPL" +DEPENDS = "omniorb-native" +PR = "r0" + +SRC_URI = "http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz \ +file://omniorb_4.1.4.patch;patch=1 \ +file://omniORB.cfg \ +file://omniORB-cross.patch;patch=1 \ +file://omniORB_embedded_appl.patch;patch=1 \ +file://rm_LongDouble.patch;patch=1 \ +" + +SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a" +SRC_URI[omniORB414targz.sha256sum] = "84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e" + +S = "${WORKDIR}/omniORB-${PV}" + +FILES_${PN}-dev += "${datadir}/idl/omniORB/* ${datadir}/idl/omniORB/cos/* +TARGET_CC_ARCH += ${LDFLAGS} + +inherit autotools pkgconfig + +do_compile () { + export EmbeddedSystem=1 + export TOOLBINDIR=${STAGING_BINDIR_NATIVE} + oe_runmake + +} +do_install () { + export EmbeddedSystem=1 + make DESTDIR=${D} install + install -d ${D}${sysconfdir} + install -m 0644 ${WORKDIR}/omniORB.cfg ${D}${sysconfdir} + install -d ${D}${localstatedir}/omninames + + #only executable libraries are stripped by the stripper + chmod +x ${WORKDIR}/image/usr/lib/lib* +} +do_stage () { + export EmbeddedSystem=1 + autotools_stage_all +} |