2009-12-28 17:33:31 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Dvtm <Formula
|
2010-11-02 15:42:40 +00:00
|
|
|
url 'http://www.brain-dump.org/projects/dvtm/dvtm-0.6.tar.gz'
|
2009-12-28 17:33:31 +00:00
|
|
|
homepage 'http://www.brain-dump.org/projects/dvtm/'
|
2010-11-02 15:42:40 +00:00
|
|
|
md5 'db77a3744868dd91a5ae5ad98b7df709'
|
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'
|
|
|
|
system "make PREFIX=#{prefix} install"
|
|
|
|
end
|
|
|
|
end
|