summarylogtreecommitdiffstats
path: root/microchip-mplabxc16-bin.install
blob: f5f8c723b332e874ca80b62204e283cb89cd726a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
message_to_user(){
   echo '
This package provides a file: /etc/profile.d/microchip-mplabxc16-bin.sh
It will add the toolchain binaries to the PATH variable for every user.
It also defines XC16_TOOLCHAIN_ROOT pointing to the toolchain install dir.
Log out and log back in to update your environment varibles.

Before using MPLAB_XC16 you have to agree with the LICENSE at:
/usr/share/licenses/microchip-mplabxc16-bin/LICENSE

For using MPLAB_XC16 with MPLAB_X (microchip-mplabx-bin), in MPLAB_X go to:
Tools->Options->Embedded->Add

and enter:
$XC16_TOOLCHAIN_ROOT/bin
'
}

post_install() {
  message_to_user
}

post_upgrade() {
  message_to_user
}