2012-02-16 16:14:37 +00:00
|
|
|
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'
|
|
|
|
md5 'db31ee89bc4788eef1eba1cee6c176ef'
|
|
|
|
|
|
|
|
def install
|
2012-02-22 04:48:36 +00:00
|
|
|
mkdir "build" do
|
2012-02-16 16:14:37 +00:00
|
|
|
system "../src/configure", "--prefix=#{prefix}"
|
|
|
|
ENV.j1 # don't run make in parallel
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/tla", "-V"
|
2012-02-16 16:14:37 +00:00
|
|
|
end
|
|
|
|
end
|