gnu-arch 1.3.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
234218f4c8
commit
fd739178cf
1 changed files with 24 additions and 0 deletions
24
Formula/gnu-arch.rb
Normal file
24
Formula/gnu-arch.rb
Normal file
|
@ -0,0 +1,24 @@
|
|||
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
|
||||
Dir.mkdir "build"
|
||||
Dir.chdir "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
|
Loading…
Reference in a new issue