Use minimum OS X requirement

This commit is contained in:
Adam Vandenberg 2013-06-14 12:09:06 -07:00
parent 2a06917550
commit 74fe94d23e
9 changed files with 9 additions and 95 deletions

View file

@ -1,15 +1,5 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"Appledoc requires Mac OS X 10.7 (Lion) or newer."
end
end
class Appledoc < Formula
homepage 'http://appledoc.gentlebytes.com/'
url "https://github.com/tomaz/appledoc/archive/v2.1.tar.gz"
@ -18,7 +8,7 @@ class Appledoc < Formula
head 'https://github.com/tomaz/appledoc.git', :branch => 'master'
depends_on :xcode # For working xcodebuild.
depends_on LionOrNewer
depends_on :macos => :lion
def install
system "xcodebuild", "-project", "appledoc.xcodeproj",

View file

@ -1,21 +1,11 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"Aubio will only build with Lion or newer."
end
end
class Aubio < Formula
homepage 'http://aubio.org/'
url 'http://aubio.org/pub/aubio-0.3.2.tar.gz'
sha1 '8ef7ccbf18a4fa6db712a9192acafc9c8d080978'
depends_on LionOrNewer
depends_on :macos => :lion
depends_on 'pkg-config' => :build
depends_on :libtool => :build
depends_on 'swig' => :build

View file

@ -1,15 +1,5 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"Avian requires Mac OS X 10.7 (Lion) or newer."
end
end
class JdkInstalled < Requirement
fatal true
@ -32,7 +22,7 @@ class Avian < Formula
head 'https://github.com/ReadyTalk/avian.git'
depends_on JdkInstalled
depends_on LionOrNewer
depends_on :macos => :lion
def install
system 'make', 'JAVA_HOME=/Library/Java/Home'

View file

@ -1,20 +1,12 @@
require 'formula'
class LionOrNewer < Requirement
satisfy MacOS.version >= :lion
def message
"Drizzle requires Mac OS X 10.7 (Lion) or newer."
end
end
class Drizzle < Formula
homepage 'http://drizzle.org'
url 'https://launchpad.net/drizzle/7.1/7.1.36/+download/drizzle-7.1.36-stable.tar.gz'
sha1 '6ce317d6a6b0560e75d5bcf44af2e278443cfbfe'
depends_on :macos => :lion
depends_on 'intltool' => :build
depends_on LionOrNewer
# https://github.com/mxcl/homebrew/issues/14289
depends_on 'boost149'

View file

@ -1,21 +1,11 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"ios-webkit-debug-proxy requires Mac OS X 10.7 (Lion) or newer."
end
end
class IosWebkitDebugProxy < Formula
homepage 'https://github.com/google/ios-webkit-debug-proxy'
url 'https://github.com/google/ios-webkit-debug-proxy/archive/1.3.tar.gz'
sha1 'bc4c240497148a232054be18269368c92deb2a75'
depends_on LionOrNewer
depends_on :macos => :lion
depends_on :autoconf => :build
depends_on :automake => :build
depends_on 'libplist'

View file

@ -1,19 +1,11 @@
require 'formula'
class SnowLeopardOrNewer < Requirement
satisfy MacOS.version >= :snow_leopard
def message
"PhantomJS requires Mac OS X 10.6 (Snow Leopard) or newer."
end
end
class Phantomjs < Formula
homepage 'http://www.phantomjs.org/'
url 'http://phantomjs.googlecode.com/files/phantomjs-1.9.1-macosx.zip'
sha1 '9c165cd1eb79fcb535a315ae096da4c0f0f8f6a2'
depends_on SnowLeopardOrNewer
depends_on :macos => :snow_leopard
def install
bin.install 'bin/phantomjs'

View file

@ -1,22 +1,11 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"rhash requires `wcsdup` which isn't in the SDK before Lion."
end
end
class Rhash < Formula
homepage 'http://rhash.anz.ru/'
url 'http://downloads.sourceforge.net/project/rhash/rhash/1.2.10/rhash-1.2.10-src.tar.gz'
sha1 '130f55faf3f13760ef0ab6a25e52db5052064c63'
depends_on LionOrNewer
depends_on :macos => :lion
def install
system 'make', 'install', "PREFIX=",

View file

@ -1,14 +1,5 @@
require 'formula'
class MountainLionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :mountainlion
def message
"Terminal-notifier requires the Notification Center of OS X 10.8+."
end
end
class TerminalNotifier < Formula
homepage 'https://github.com/alloy/terminal-notifier'
url 'https://github.com/alloy/terminal-notifier/archive/1.4.2.tar.gz'
@ -16,8 +7,8 @@ class TerminalNotifier < Formula
head 'https://github.com/alloy/terminal-notifier.git'
depends_on :macos => :mountain_lion
depends_on :xcode
depends_on MountainLionOrNewer
def patches
# Disable code signing because we don't have the cert of the dev.

View file

@ -1,15 +1,5 @@
require 'formula'
class LionOrNewer < Requirement
fatal true
satisfy MacOS.version >= :lion
def message
"Wry requires Mac OS X 10.7 or newer."
end
end
class Wry < Formula
homepage 'http://grailbox.com/wry/'
url 'https://github.com/hoop33/wry/archive/v1.5.tar.gz'
@ -17,7 +7,7 @@ class Wry < Formula
head 'https://github.com/hoop33/wry.git'
depends_on LionOrNewer
depends_on :macos => :lion
depends_on :xcode
def install