2009-12-28 17:33:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Dvtm < Formula
|
2009-12-28 17:33:31 +00:00
|
|
|
homepage 'http://www.brain-dump.org/projects/dvtm/'
|
2013-04-12 19:38:49 +00:00
|
|
|
url 'http://www.brain-dump.org/projects/dvtm/dvtm-0.9.tar.gz'
|
|
|
|
sha1 '74b9d1f5172fddd6839d932e483d36c6d0ef4b04'
|
2009-12-28 21:40:02 +00:00
|
|
|
head 'git://repo.or.cz/dvtm.git'
|
2009-12-28 17:33:31 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
inreplace 'config.mk', 'LIBS = -lc -lutil -lncursesw', 'LIBS = -lc -lutil -lncurses'
|
|
|
|
inreplace 'Makefile', 'strip -s', 'strip'
|
2012-05-15 18:31:21 +00:00
|
|
|
system "make", "PREFIX=#{prefix}", "install"
|
2009-12-28 17:33:31 +00:00
|
|
|
end
|
|
|
|
end
|