screenresolution: requires 10.6+

Fixes mistydemeo/tigerbrew#158.
master
Misty De Meo 2013-12-19 08:55:04 -08:00
parent 865a66c73a
commit 917dc6f7b8
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ class Screenresolution < Formula
sha1 '5a4c397711c0cadb3cf58e8eb13dff50b993b388'
head 'https://github.com/jhford/screenresolution.git', :branch => "master"
# Uses CGDisplayModeRef type, introduced in 10.6
depends_on :macos => :snow_leopard
def install
system "make", "CC=#{ENV.cc}"
system "make", "PREFIX=#{prefix}", "install"