Renamed package information in tirex to be compatible with 3.4.0.0.
[ep-processor-libraries/dsplib.git] / ti / dsplib / package.tirex.json.xdt
1 %%{\r
2 /*!\r
3  *  This template implements TI REX package.tirex.json\r
4  */  \r
5     var Pkg = this;\r
6     var version=$args[0].toString().split(",");\r
7     var quality="";\r
8     var btype="";\r
9     switch(version[4])\r
10        {\r
11         case "0":\r
12                quality=" Pre-alpha";\r
13                break;\r
14         case "1":\r
15                quality=" Alpha";\r
16                break; \r
17         case "2":\r
18                quality=" Beta";\r
19                break; \r
20         case "3":\r
21                quality="";\r
22                break; \r
23        }\r
24     var packageVersion= version[0]+"."+version[1]+"."+version[2]+"."+version[3];\r
25     var TARGET_id = $args[1];    \r
26     var TARGET_name = $args[2];    \r
27 %%}\r
28 \r
29 [\r
30     {\r
31         "id": "ti.mas.dsplib.`TARGET_id`",\r
32         "name": "DSPLIB `TARGET_name`",\r
33         "version": "`packageVersion`",\r
34         "type": "software",\r
35         "image": "./tirex_logo_256.png",\r
36         "description": "Optimized `TARGET_name` DSP function library for C programmers",\r
37         "allowPartialDownload": "false",\r
38         "devices": [],\r
39         "metadataVersion": "3.0.0"\r
40     }\r
41 ]\r
42 \r