mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
Fixes #77
This commit is contained in:
1 parent
5c54f5747b
commit
0b7e5cd4eb
4 files changed
-27
No files matched your search
@@ -12,16 +12,10 @@ class SdlImage <Formula
|
||||
ENV.x11 # For Freetype
|
||||
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--includedir=#{prefix}/priv_include",
|
||||
"--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-sdltest",
|
||||
"--with-freetype-exec-prefix=/usr/X11"
|
||||
system "make install"
|
||||
|
||||
# Hack alert:
|
||||
# Since SDL is installed as a dependency, we know it exists, so we
|
||||
# symlink our new header file into its brewed location.
|
||||
FileUtils.ln_s "#{prefix}/priv_include/SDL/SDL_image.h", "#{HOMEBREW_PREFIX}/include/SDL"
|
||||
end
|
||||
end
|
||||
@@ -11,18 +11,9 @@ class SdlMixer <Formula
|
||||
#depends_on 'smpeg' => :optional # http://icculus.org/smpeg/
|
||||
|
||||
def install
|
||||
# We use a private include folder, and then
|
||||
# symlink the header file ourselves.
|
||||
# See: http://github.com/mxcl/homebrew/issues#issue/62
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--includedir=#{prefix}/priv_include",
|
||||
"--disable-debug",
|
||||
"--disable-dependency-tracking"
|
||||
system "make install"
|
||||
|
||||
# Hack alert:
|
||||
# Since SDL is installed as a dependency, we know it exists, so we
|
||||
# symlink our new header file into its brewed location.
|
||||
FileUtils.ln_s "#{prefix}/priv_include/SDL/SDL_mixer.h", "#{HOMEBREW_PREFIX}/include/SDL"
|
||||
end
|
||||
end
|
||||
@@ -9,15 +9,9 @@ class SdlNet <Formula
|
||||
|
||||
def install
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--includedir=#{prefix}/priv_include",
|
||||
"--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-sdltest"
|
||||
system "make install"
|
||||
|
||||
# Hack alert:
|
||||
# Since SDL is installed as a depency, we know it exists, so we
|
||||
# symlink our new header file into its brewed location.
|
||||
FileUtils.ln_s "#{prefix}/priv_include/SDL/SDL_net.h", "#{HOMEBREW_PREFIX}/include/SDL"
|
||||
end
|
||||
end
|
||||
@@ -11,16 +11,10 @@ class SdlTtf <Formula
|
||||
ENV.x11 # For Freetype
|
||||
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--includedir=#{prefix}/priv_include",
|
||||
"--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-sdltest",
|
||||
"--with-freetype-exec-prefix=/usr/X11"
|
||||
system "make install"
|
||||
|
||||
# Hack alert:
|
||||
# Since SDL is installed as a dependency, we know it exists, so we
|
||||
# symlink our new header file into its brewed location.
|
||||
FileUtils.ln_s "#{prefix}/priv_include/SDL/SDL_ttf.h", "#{HOMEBREW_PREFIX}/include/SDL"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user