diff options
| author | Matthew Callis | 2011-04-18 21:56:07 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-18 22:25:39 -0700 |
| commit | 1d3dbc5e611435337d2b55be01729e90256dcbe8 (patch) | |
| tree | 40dd041987bba5a693b0b28b1640a950262bce26 /Library | |
| parent | aff766d3360c94d15a1361373b6de58bfe7d93a4 (diff) | |
| download | homebrew-1d3dbc5e611435337d2b55be01729e90256dcbe8.tar.bz2 | |
Adding xa (xa65) portable cross-assembler.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/xa.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/xa.rb b/Library/Formula/xa.rb new file mode 100644 index 000000000..07febca76 --- /dev/null +++ b/Library/Formula/xa.rb @@ -0,0 +1,16 @@ +require 'formula' + +class Xa < Formula + url 'http://www.floodgap.com/retrotech/xa/dists/xa-2.3.5.tar.gz' + homepage 'http://www.floodgap.com/retrotech/xa/' + md5 'edd15aa8674fb86225faf34e56d5cab2' + + def install + inreplace 'Makefile' do |s| + s.change_make_var! 'DESTDIR', prefix + end + + system "make" + system "make install" + end +end |
