homebrew-cask/Casks/ax88179.rb

21 lines
657 B
Ruby
Raw Normal View History

2014-11-14 01:25:25 +08:00
cask :v1 => 'ax88179' do
2015-01-08 09:02:10 +08:00
version '2.4.0_20141226'
sha256 '4de36d86600eef8374fa3161ee7a98980ab5faac47e4f3fbcdc9573af6975b97'
module Utils
def self.basename
"AX88179_178A_Macintosh_10.6_to_10.10_Driver_Installer_v#{Module.nesting.last.version}"
end
end
url "http://www.asix.com.tw/FrootAttach/driver/#{Utils.basename}.zip"
2015-01-04 11:31:11 +08:00
name 'AX88179'
homepage 'http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71'
2015-01-08 09:02:10 +08:00
license :gratis
2014-10-09 23:40:46 +08:00
container :nested => "#{Utils.basename}/AX88179_178A.dmg"
2014-09-10 23:36:59 +08:00
pkg "AX88179_178A_v#{version[0..-10]}.pkg"
2014-11-22 22:12:36 +08:00
uninstall :script => { :executable => 'AX88179_178A_Uninstall_v140' }
end