aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorPiotr Usewicz2009-10-10 12:36:36 +0100
committerMax Howell2009-10-12 17:26:28 +0100
commit7e77f97ba5eeb5ea9b4bdcd0c363e2f089669545 (patch)
tree1e5f37ac829f1b3b7a8facbda14b2d3dfb8a58be /Library
parent4d692df330863dfea7db77eba3513d30b24ba449 (diff)
downloadhomebrew-7e77f97ba5eeb5ea9b4bdcd0c363e2f089669545.tar.bz2
Update to Wine 1.1.31
Force gcc 4.2 to compile wine
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wine.rb15
1 files changed, 8 insertions, 7 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb
index 38f9b75b4..ec7630335 100644
--- a/Library/Formula/wine.rb
+++ b/Library/Formula/wine.rb
@@ -1,18 +1,19 @@
require 'brewkit'
class Wine <Formula
- url 'http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.30.tar.bz2'
- md5 '3b78497f71cf6f112bac6de74e5cb29f'
+ url 'http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.1.31.tar.bz2'
+ md5 '87fb94c218e52dd67c75b4ae5ef50c0e'
homepage 'http://www.winehq.org/'
-
+
depends_on 'jpeg'
- #depends_on 'mpg123' => optional # doesn't yet compile on 10.6
+ depends_on 'mpg123' => :optional
def install
- ENV.gcc_4_2 # TODO: add a comment explaining why we do this
+ # Wine does not compile with LLVM yet
+ ENV.gcc_4_2
ENV.x11
- # Make sure we build 32bit version # TODO: add a comment explaining why we do this
+ # Make sure we build 32bit version, because Wine64 is not fully functional yet
build32 = "-arch i386 -m32"
ENV["LIBS"] = "-lGL -lGLU"
@@ -38,7 +39,7 @@ Get winetricks with:
def wine_wrapper
DATA
end
-
+
def rename_binary
(bin+'wine').rename(bin+'wine.bin')
end