aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-06-18 08:04:58 -0700
committerAdam Vandenberg2013-06-18 08:04:58 -0700
commit154bdeb73576ac0d8193067d186cc5a3dddec6fe (patch)
treea611b82602c9bf4b0de7e19b7322de108599e6d5 /Library
parentddcc48110243821a9b466773b02ea3a0d22c0dc4 (diff)
downloadhomebrew-154bdeb73576ac0d8193067d186cc5a3dddec6fe.tar.bz2
jstalk: use :macos and tarball
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/jstalk.rb14
1 files changed, 3 insertions, 11 deletions
diff --git a/Library/Formula/jstalk.rb b/Library/Formula/jstalk.rb
index 2b5afa455..90efab13b 100644
--- a/Library/Formula/jstalk.rb
+++ b/Library/Formula/jstalk.rb
@@ -1,19 +1,11 @@
require 'formula'
-class NeedsSnowLeopard < Requirement
- satisfy MacOS.version >= :snow_leopard
-
- def message
- "jstalk requires Mac OS X 10.6 or newer"
- end
-end
-
class Jstalk < Formula
homepage 'http://jstalk.org/'
- url 'https://github.com/ccgus/jstalk.git', :tag => "v1.0.1"
- version '1.0.1'
+ url 'https://github.com/ccgus/jstalk/archive/v1.0.1.tar.gz'
+ sha1 '9257333ca347bc29cfc5e97cc199b61cfefa2168'
- depends_on NeedsSnowLeopard
+ depends_on :macos => :snow_leopard
depends_on :xcode # For working xcodebuild.
def install