2014-07-01 17:59:48 +08:00
|
|
|
class Ax88179 < Cask
|
2014-09-16 02:35:24 +08:00
|
|
|
version '2.2.0_20140724'
|
|
|
|
sha256 '075cdf5cb5a6ed0e8a4d59ff470a32f5e869f3b2f2b08f268120cbae30c61329'
|
2014-07-01 17:59:48 +08:00
|
|
|
|
2014-10-07 23:27:30 +08:00
|
|
|
module Utils
|
|
|
|
def self.basename
|
|
|
|
"AX88179_178A_Macintosh_10.6_to_10.10_Driver_Installer_v#{Ax88179.version}"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
url "http://www.asix.com.tw/FrootAttach/driver/#{Utils.basename}.zip"
|
|
|
|
homepage 'http://www.asix.com.tw/products.php?op=pItemdetail&PItemID=131;71;112&PLine=71'
|
|
|
|
license :unknown
|
|
|
|
|
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-07-01 17:59:48 +08:00
|
|
|
uninstall :script => { :executable => 'AX88179_178A_Uninstall_v140' }
|
|
|
|
end
|