homebrew-core/Formula/dvtm.rb

15 lines
453 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Dvtm < Formula
homepage 'http://www.brain-dump.org/projects/dvtm/'
url 'http://www.brain-dump.org/projects/dvtm/dvtm-0.10.tar.gz'
sha1 '00e3d6cb746f8eace07e6784452d53781e76db13'
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