ti33x: switch default preference to ti-staging tree
[glsdk/meta-ti-glsdk.git] / recipes-ti / msp430 / ti-msp430-chronos_1.05.00.00.bb
1 DESCRIPTION = "eZ430 Chronos Tools - MSP430 Development Kit/Watch"
2 HOMEPAGE = "http://processors.wiki.ti.com/index.php/EZ430-Chronos"
3 LICENSE = "TI-BSD"
4 # We can't use the actualy source file, since it has space in its name :(
5 LIC_FILES_CHKSUM = "file://eZ430-Chronos_CC_1_1.tcl;md5=59ba6ee0a26650ec660a4e65a9462806"
7 SECTION = "multimedia"
9 inherit allarch
11 PV = "1_05_00_00"
13 SRC_URI = "http://focus.ti.com/lit/sw/slac388/slac388.zip;name=slac388zip"
15 SRC_URI[slac388zip.md5sum] = "22d4104a07af584222828fb377793796"
16 SRC_URI[slac388zip.sha256sum] = "1c9cd1e36015e8db3b36c98be41907628144b76002b3f76b27fd310f4bd35ad7"
18 require ../includes/ti-paths.inc
19 require ../includes/ti-staging.inc
20 require ../includes/ti-eula-unpack.inc
22 S = "${WORKDIR}/ti/eZ430-Chronos"
24 BINFILE="Chronos-Setup"
25 TI_BIN_UNPK_CMDS="Y:workdir:"
27 do_unpack_append() {
28     os.system('mv "Texas Instruments" ti')
29 }
31 do_configure() {
32         cp Control\ Center/Chronos\ Control\ Center/eZ430-Chronos_CC_1_1.tcl ${S}
33 }
35 do_compile() {
36     echo "Do Nothing for Now"
37 }
39 do_install() {
41     install -d ${D}/${installdir}/ti-msp430-chronos-apps
42     cp -pPrf "${S}"/"Control Center"/* ${D}/${installdir}/ti-msp430-chronos-apps
44     # Remove dos formatting
45     dos2unix "${D}/${installdir}/ti-msp430-chronos-apps/Chronos Data Logger"/*
46     dos2unix "${D}/${installdir}/ti-msp430-chronos-apps/Chronos Control Center"/*
48     # Should probably also remove hardcoded script reference to tcl8.5
49 }
51 PACKAGES += "ti-msp430-chronos-apps"
52 FILES_ti-msp430-chronos-apps = "${installdir}/ti-msp430-chronos-apps/*"
54 RDEPENDS_ti-msp430-chronos-apps += " tcl tk xdotool"
55 RRECOMMENDS_ti-msp430-chronos-apps = "kernel-module-cdc-acm"