omniorb, omniorb-native : Fix bb file syntax and style.
authorPhilip Balister <philip@balister.org>
Mon, 20 Nov 2006 21:54:23 +0000 (21:54 +0000)
committerPhilip Balister <philip@balister.org>
Mon, 20 Nov 2006 21:54:23 +0000 (21:54 +0000)
packages/omniorb/omniorb-native_4.0.7.bb
packages/omniorb/omniorb_4.0.7.bb

index 4f3a815..b8a2e40 100644 (file)
@@ -1,26 +1,18 @@
+SECTION = "devel"
+DEPENDS += "python-native"
 PR = "r0"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/omniorb/omniORB-${PV}.tar.gz"
-SECTION = "devel"
-S = "${WORKDIR}/omniORB-${PV}"
 
-DEPENDS += "python-native"
+S = "${WORKDIR}/omniORB-${PV}"
 
 inherit native autotools
 
 do_compile () {
-       oe_runmake
+        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_DIR}/${BUILD_SYS}/lib/libomni*
+        rm -f  ${STAGING_DIR}/${BUILD_SYS}/lib/libomni*
 }
-
-#do_stage() {
-#      install -m 0755 src/bison ${STAGING_BINDIR}/
-#      ln -sf ./bison ${STAGING_BINDIR}/yacc
-#      install -d ${STAGING_BINDIR}/../share/bison/m4sugar
-#      install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_BINDIR}/../share/bison/
-#      install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_BINDIR}/../share/bison/m4sugar/
-#}
index d909492..d475b22 100644 (file)
@@ -1,10 +1,9 @@
-PR = "r0"
 DESCRIPTION = "OmniORB High Performance ORB"
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "LGPL"
-
 DEPENDS = "omniorb-native"
+PR = "r0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/omniorb/omniORB-${PV}.tar.gz \
 file://omniORB.cfg \
@@ -19,20 +18,18 @@ S = "${WORKDIR}/omniORB-${PV}"
 inherit autotools pkgconfig
 
 do_compile () {
-       export EmbeddedSystem=1
-       export TOOLBINDIR=${STAGING_BINDIR}
-       oe_runmake
+        export EmbeddedSystem=1
+        export TOOLBINDIR=${STAGING_BINDIR}
+        oe_runmake
 }
-
-do_stage () {
-       export EmbeddedSystem=1
-       autotools_stage_all
-}
-
 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
+        export EmbeddedSystem=1
+        make DESTDIR=${D} install
+        install -d ${D}${sysconfdir}
+        install -m 0644 ${WORKDIR}/omniORB.cfg ${D}${sysconfdir}
+        install -d ${D}${localstatedir}/omninames
+}
+do_stage () {
+        export EmbeddedSystem=1
+        autotools_stage_all
 }