homebrew-core/Formula/dvtm.rb
Brett Koonce 1799d25d4f dvtm 0.11
2014-03-16 20:29:16 -05:00

14 lines
453 B
Ruby

require 'formula'
class Dvtm < Formula
homepage 'http://www.brain-dump.org/projects/dvtm/'
url 'http://www.brain-dump.org/projects/dvtm/dvtm-0.11.tar.gz'
sha1 'f82927afb88e3745dfed11fd39e5f6f9e956099e'
head 'git://repo.or.cz/dvtm.git'
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