ti-msp430-chronos: Add RDEPEND on tk, fix dos2unix
authorRoger Monk <r-monk@ti.com>
Wed, 19 May 2010 15:34:31 +0000 (16:34 +0100)
committerKoen Kooi <koen@openembedded.org>
Wed, 19 May 2010 16:50:01 +0000 (18:50 +0200)
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <k-kooi@ti.com>
recipes/ti/ti-msp430-chronos_1.05.00.00.bb

index 38812f0..089cd7f 100644 (file)
@@ -1,8 +1,10 @@
 DESCRIPTION = "eZ430 Chronos Tools - MSP430 Development Kit/Watch"
 HOMEPAGE = "http://processors.wiki.ti.com/index.php/EZ430-Chronos"
+LICENCE = "unknown"
 SECTION = "multimedia"
 
 PV = "1_05_00_00"
+PR = "1"
 
 SRC_URI = "http://focus.ti.com/lit/sw/slac388/slac388.zip;name=slac388zip"
 
@@ -30,10 +32,15 @@ do_install() {
 
     install -d ${D}/${installdir}/ti-msp430-chronos-apps
     cp -pPrf "${S}"/"Control Center"/* ${D}/${installdir}/ti-msp430-chronos-apps
+
+    # Remove dos formatting
+    dos2unix "${D}/${installdir}/ti-msp430-chronos-apps/Chronos Data Logger"/*
+    dos2unix "${D}/${installdir}/ti-msp430-chronos-apps/Chronos Control Center"/*
+
+    # Should probably also remove hardcoded script reference to tcl8.5
 }
 
 PACKAGES += "ti-msp430-chronos-apps"
 FILES_ti-msp430-chronos-apps = "${installdir}/ti-msp430-chronos-apps/*"
 
-RDEPENDS_ti-msp430-chronos-apps += " tcl xdotool"
-
+RDEPENDS_ti-msp430-chronos-apps += " tcl tk xdotool"