summarylogtreecommitdiffstats
path: root/microchip-mplabxc32-bin.install
blob: a5f15ce9b06188b2f399bd0049bdec58d3d48952 (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
message_to_user(){
   echo '
This package provides a file: /etc/profile.d/microchip-mplabxc32-bin.sh
It will add the toolchain binaries to the PATH variable for every user.
It also defines XC32_TOOLCHAIN_ROOT pointing to the toolchain install dir.
Log out and log back in to update your environment varibles.

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

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

and enter:
$XC32_TOOLCHAIN_ROOT/bin
'
}

post_install() {
  message_to_user
}

post_upgrade() {
  message_to_user
}