homebrew-core/Formula/gnu-arch.rb

22 lines
509 B
Ruby
Raw Normal View History

require 'formula'
class GnuArch < Formula
homepage 'http://www.gnu.org/software/gnu-arch/'
url 'http://ftpmirror.gnu.org/gnu-arch/tla-1.3.5.tar.gz'
mirror 'http://ftp.gnu.org/gnu/gnu-arch/tla-1.3.5.tar.gz'
sha1 '0fb3b5bfa6b2fb5eb953fdca9e0f75ac1b35b15e'
def install
2012-02-22 04:48:36 +00:00
mkdir "build" do
system "../src/configure", "--prefix=#{prefix}"
ENV.j1 # don't run make in parallel
system "make"
system "make install"
end
end
def test
system "#{bin}/tla", "-V"
end
end