diff options
| author | Cameron Desautels | 2012-02-16 10:14:37 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-20 21:04:32 -0800 |
| commit | c9c5b5291dd1ee15a41a68d359d3f03074cf109d (patch) | |
| tree | 1cc8f2d9004744c17328381c9fa2dc564966baa6 /Library/Formula | |
| parent | 404ff185088206d8a3c5bf18f4258b733c41dbc4 (diff) | |
| download | homebrew-c9c5b5291dd1ee15a41a68d359d3f03074cf109d.tar.bz2 | |
gnu-arch 1.3.5
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnu-arch.rb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/gnu-arch.rb b/Library/Formula/gnu-arch.rb new file mode 100644 index 000000000..4c441aa3c --- /dev/null +++ b/Library/Formula/gnu-arch.rb @@ -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 |
