e8c3fb0e12
Closes Homebrew/homebrew#42583. Signed-off-by: Xu Cheng <xucheng@me.com>
27 lines
733 B
Ruby
27 lines
733 B
Ruby
class Winetricks < Formula
|
|
desc "Download and install various runtime libraries"
|
|
homepage "https://github.com/Winetricks/winetricks"
|
|
url "https://github.com/Winetricks/winetricks/archive/20150706.tar.gz"
|
|
sha256 "989290d0a6b2a51da69b348e986ec67de48c625ca461b2da928884f17d834c4e"
|
|
head "https://github.com/Winetricks/winetricks.git"
|
|
|
|
depends_on "cabextract"
|
|
depends_on "p7zip"
|
|
depends_on "unrar"
|
|
depends_on "wine"
|
|
|
|
def install
|
|
bin.install "src/winetricks"
|
|
man1.install "src/winetricks.1"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/winetricks", "dlls", "list"
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
winetricks is a set of utilities for wine, which is installed separately:
|
|
brew install wine
|
|
EOS
|
|
end
|
|
end
|