[oe] [PATCH] tk: Run oe-stylize.py script and change the recipe accordingly

Noor Ahsan noor_ahsan at mentor.com
Tue Aug 31 08:58:26 UTC 2010


* Run the oe-stylize.py script and modify the recipe according to the output of the script.


Signed-off-by: Noor Ahsan <noor_ahsan at mentor.com>
---
 recipes/tcltk/tk_8.5.8.bb |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/recipes/tcltk/tk_8.5.8.bb b/recipes/tcltk/tk_8.5.8.bb
index 7637b7b..01d09e8 100644
--- a/recipes/tcltk/tk_8.5.8.bb
+++ b/recipes/tcltk/tk_8.5.8.bb
@@ -1,9 +1,8 @@
 DESCRIPTION = "Tool Command Language ToolKit Extension"
-LICENSE = "tcl"
-SECTION = "devel/tcltk"
 HOMEPAGE = "http://tcl.sourceforge.net"
+SECTION = "devel/tcltk"
+LICENSE = "tcl"
 DEPENDS = "tcl virtual/libx11 libxt"
-
 PR = "r1"
 
 SRC_URI = "\
@@ -16,7 +15,6 @@ SRC_URI = "\
   file://tkprivate.diff;striplevel=2 \
   file://fix-xft.diff \
 "
-
 SRC_URI[md5sum] = "13bf90602e16fc530e05196431021dc6"
 SRC_URI[sha256sum] = "9737da5c30e631281062b6acbb4753840f9e95657c78e37657d9c520589ab2d4"
 
@@ -31,16 +29,17 @@ EXTRA_OECONF = "\
   --x-libraries=${STAGING_LIBDIR} \
 "
 
-BINCONFIG_GLOB = "*Config.sh"
-
 do_install() {
-	autotools_do_install
-	mv libtk8.5.so libtk8.5.so.0
-	oe_libinstall -so libtk8.5 ${D}${libdir}
-	ln -sf wish8.5 ${D}${bindir}/wish
+        autotools_do_install
+        mv libtk8.5.so libtk8.5.so.0
+        oe_libinstall -so libtk8.5 ${D}${libdir}
+        ln -sf wish8.5 ${D}${bindir}/wish
 }
 
 PACKAGES =+ "${PN}-lib"
+
 FILES_${PN}-lib = "${libdir}/libtk8.5.so.*"
 FILES_${PN} += "${libdir}/tk*"
 
+BINCONFIG_GLOB = "*Config.sh"
+
-- 
1.6.3.3





More information about the Openembedded-devel mailing list