Merge pull request #4527 from lvillani/mcs783x

Add ASIX MCS7830 and MCS7832 Ethernet <-> USB drivers v1.1.0
This commit is contained in:
Vítor Galvão 2014-05-26 00:02:53 +01:00
commit 6547c6cfe1
1 changed files with 14 additions and 0 deletions

14
Casks/mcs783x.rb Normal file
View File

@ -0,0 +1,14 @@
class Mcs783x < Cask
homepage 'http://www.asix.com.tw/products.php?op=ProductList&PLine=74&PSeries=109'
version '1.1.0'
basename = "MCS783x_Mac_OSX_10.5_to_10.7_driver_v#{version}_Binary"
url "http://www.asix.com.tw/FrootAttach/driver/#{basename}.zip"
sha256 'ea1d6245b5accabf041060886f16cc00b43d3e6e7e032f4154b487e96ab05569'
nested_container "#{basename}/MCS7830_v#{version}.dmg"
install "MCS7830 v#{version}.pkg"
uninstall :script => { :executable => 'uninstal driver' },
:pkgutil => 'asix.com.moschipUsbEthernet.pkg'
end