28 lines
733 B
Ruby
28 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/20150810.tar.gz"
|
|
sha256 "e80ef999dd95e7c778616dd6c75636a85d1253933e2cb935a0b6ad6fb2ec2a58"
|
|
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
|