homebrew-core/Formula/dvtm.rb

15 lines
452 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.8.tar.gz'
sha1 '367fe528010a69c705cd046f63201c61086c14ec'
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