2009-12-28 14:59:52 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Task < Formula
|
2011-03-04 23:14:44 +00:00
|
|
|
url 'http://www.taskwarrior.org/download/task-1.9.4.tar.gz'
|
2010-05-25 18:53:31 +00:00
|
|
|
homepage 'http://www.taskwarrior.org/'
|
2011-03-04 23:14:44 +00:00
|
|
|
md5 '0c5d9dedb1ead69590af895d16708070'
|
2010-05-25 18:53:31 +00:00
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
skip_clean :all
|
2009-12-28 14:59:52 +00:00
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2010-05-25 18:53:31 +00:00
|
|
|
"--prefix=#{prefix}"
|
2009-12-28 14:59:52 +00:00
|
|
|
system "make install"
|
2010-05-25 18:53:31 +00:00
|
|
|
|
|
|
|
# Install the bash completion file
|
|
|
|
(etc+'bash_completion.d').install 'scripts/bash/task_completion.sh'
|
2009-12-28 14:59:52 +00:00
|
|
|
end
|
|
|
|
end
|