mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-26 19:09:48 -05:00
SDL_net: use options dsl
This commit is contained in:
1 parent
9128cb5189
commit
e70cbef4e6
1 file changed
+3
-5
@@ -5,15 +5,13 @@ class SdlNet < Formula
|
||||
url 'http://www.libsdl.org/projects/SDL_net/release/SDL_net-1.2.8.tar.gz'
|
||||
sha1 'fd393059fef8d9925dc20662baa3b25e02b8405d'
|
||||
|
||||
option :universal
|
||||
|
||||
depends_on 'pkg-config' => :build
|
||||
depends_on 'sdl'
|
||||
|
||||
def options
|
||||
[['--universal', 'Build universal binaries.']]
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.universal_binary if ARGV.build_universal?
|
||||
ENV.universal_binary if build.universal?
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-sdltest"
|
||||
|
||||
Reference in new issue
Block a user