2009-12-28 14:59:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Task < Formula
|
2010-05-25 18:53:31 +00:00
|
|
|
homepage 'http://www.taskwarrior.org/'
|
2012-09-19 20:12:17 +00:00
|
|
|
url 'http://www.taskwarrior.org/download/task-2.1.2.tar.gz'
|
|
|
|
sha1 '4cd5a5cb562fa407f097e2cd7e7293183773cf5b'
|
2010-05-25 18:53:31 +00:00
|
|
|
|
2012-03-18 10:54:15 +00:00
|
|
|
depends_on "cmake" => :build
|
2012-03-11 23:55:07 +00:00
|
|
|
|
2009-12-28 14:59:52 +00:00
|
|
|
def install
|
2012-05-22 21:37:04 +00:00
|
|
|
system "cmake", ".", *std_cmake_args
|
2009-12-28 14:59:52 +00:00
|
|
|
system "make install"
|
2012-09-19 20:12:17 +00:00
|
|
|
(prefix/'etc/bash_completion.d').install 'scripts/bash/task.sh'
|
|
|
|
(share/'zsh/site-functions').install 'scripts/zsh/_task'
|
2012-04-29 07:03:19 +00:00
|
|
|
end
|
2009-12-28 14:59:52 +00:00
|
|
|
end
|