homebrew-cask/Casks/crosspack-avr.rb

28 lines
747 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

cask "crosspack-avr" do
version "2013-12-16"
sha256 "959f9bf00429a0e46e649a14d7891cb4086c9cf2d032d9f66899d6efbb628f6e"
url "https://www.obdev.at/downloads/crosspack/CrossPack-AVR-#{version.no_hyphens}.dmg"
name "CrossPack"
desc "Development environment for Atmels AVR® microcontrollers"
homepage "https://www.obdev.at/products/crosspack/index.html"
livecheck do
url "https://www.obdev.at/products/crosspack/download.html"
regex(/>Crosspack\s*(\d+(?:[.-]\d+)+)/i)
end
pkg "CrossPack-AVR.pkg"
uninstall script: {
executable: "/usr/local/CrossPack-AVR/uninstall",
input: ["Yes"],
sudo: true,
},
pkgutil: "at.obdev.CrossPack-AVR"
caveats do
files_in_usr_local
end
end