aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorlepht2012-03-18 06:54:15 -0400
committerAdam Vandenberg2012-03-18 10:27:24 -0700
commit0850e54f60f82413fab058e9f39ddad308df786e (patch)
tree01f08788525b645a47f9ba55d5fbbb2e0f04c1c8 /Library
parentc89d9f7ab3a7e3dc7955e247e200c1d593ef37b9 (diff)
downloadhomebrew-0850e54f60f82413fab058e9f39ddad308df786e.tar.bz2
taskwarrior 2.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/task.rb24
1 files changed, 5 insertions, 19 deletions
diff --git a/Library/Formula/task.rb b/Library/Formula/task.rb
index 28597c24b..f8072b78e 100644
--- a/Library/Formula/task.rb
+++ b/Library/Formula/task.rb
@@ -2,29 +2,15 @@ require 'formula'
class Task < Formula
homepage 'http://www.taskwarrior.org/'
- url 'http://www.taskwarrior.org/download/task-1.9.4.tar.gz'
- md5 '0c5d9dedb1ead69590af895d16708070'
+ url 'http://www.taskwarrior.org/download/task-2.0.0.tar.gz'
+ sha1 'dc587363fbdc1dcac7f7e07b1bccfd1fb56b2435'
- skip_clean :all
-
- devel do
- url 'http://www.taskwarrior.org/download/task-2.0.0.RC1.tar.gz'
- md5 '42333fa5a0ab3a6b058146182cbb7b1a'
- version '2.0.0.rc1'
- end
+ depends_on "cmake" => :build
- if ARGV.build_devel?
- depends_on "cmake" => :build
- end
+ skip_clean :all
def install
- if ARGV.build_devel?
- system "cmake", "-DCMAKE_INSTALL_PREFIX=#{prefix}"
- else
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}"
- end
-
+ system "cmake #{std_cmake_parameters}"
system "make install"
(etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
end