Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mplab-xc32 4.40 #172141

Merged
merged 3 commits into from May 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 8 additions & 3 deletions Casks/m/mplab-xc32.rb
@@ -1,6 +1,7 @@
cask "mplab-xc32" do
version "4.35"
sha256 "f4664a269b873ae72572924fb5525979fa60a399c1d6ecc8fc196833013b79c2"
# NOTE: "32" is not a version number, but an intrinsic part of the product name
version "4.40"
sha256 "4463c2c7e191121dfbb103f40dc9ddbe1ef930fecd1d1bc12a574600e8ee4264"

url "https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SoftwareTools/xc32-v#{version}-full-install-osx-installer.dmg"
name "MPLab XC32 Compiler"
Expand All @@ -9,9 +10,11 @@

livecheck do
url "https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers/xc32"
regex(%r{href=.*?ProductDocuments/SoftwareTools/xc32[._-]v?(\d+(?:\.\d+)+)-full-install-osx-installer\.dmg}i)
regex(%r{href=.*?SoftwareTools/xc32[._-]v?(\d+(?:\.\d+)+)[._-]full[._-]install[._-]osx[._-]installer\.dmg}i)
end

depends_on arch: :x86_64

installer script: {
executable: "xc32-v#{version}-osx-installer.app/Contents/MacOS/installbuilder.sh",
args: [
Expand Down Expand Up @@ -54,4 +57,6 @@
args: ["--mode", "unattended"],
sudo: true,
}

# No zap stanza required
end