aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMatthew Callis2011-04-18 21:56:07 -0700
committerAdam Vandenberg2011-04-18 22:25:39 -0700
commit1d3dbc5e611435337d2b55be01729e90256dcbe8 (patch)
tree40dd041987bba5a693b0b28b1640a950262bce26 /Library
parentaff766d3360c94d15a1361373b6de58bfe7d93a4 (diff)
downloadhomebrew-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.rb16
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