87135942442ee33e86a6770093a69fd190d639e2
[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 = $args[1];    \r
26 %%}\r
27 \r
28 [\r
29     {\r
30         "id": "com.ti.`TARGET`_DSPLIB",\r
31         "name": "`TARGET` DSPLIB",\r
32         "version": "`packageVersion`",\r
33         "type": "software",\r
34         "image": "./tirex_logo_256.png",\r
35         "description": "Optimized `TARGET` DSP function library for C programmers",\r
36         "allowPartialDownload": "false",\r
37         "devices": [],\r
38         "metadataVersion": "3.0.0"\r
39     }\r
40 ]\r
41 \r