homebrew-core/Formula/enscript.rb
Brett Koonce 3e8bff460b enscript 1.6.6
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-18 10:07:36 -07:00

24 lines
647 B
Ruby

require 'formula'
class Enscript < Formula
homepage 'http://www.gnu.org/software/enscript/'
url 'http://ftpmirror.gnu.org/enscript/enscript-1.6.6.tar.gz'
mirror 'http://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz'
sha1 '1f1e97a2ebb3d77f48c57487fe39e64139fb2beb'
head 'git://git.savannah.gnu.org/enscript.git'
keg_only :provided_pre_mountain_lion
depends_on 'gettext'
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/enscript -V | grep 'GNU Enscript #{version}'"
end
end