aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mspdebug.rb
diff options
context:
space:
mode:
authorCaio Henrique de Queiroz Katayama2012-09-01 16:00:14 -0400
committerAdam Vandenberg2012-09-01 13:32:38 -0700
commit76ce0007bf6d8dabf4d2b1041ee96eb868688ebe (patch)
treee9314e1e69a70ac68e90dc899bd4cc187ba1a793 /Library/Formula/mspdebug.rb
parentc7d7e3a9d8c36754916249651accf7a40c093cc8 (diff)
downloadhomebrew-76ce0007bf6d8dabf4d2b1041ee96eb868688ebe.tar.bz2
mspdebug 0.20
Closes #14623. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/mspdebug.rb')
-rw-r--r--Library/Formula/mspdebug.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/mspdebug.rb b/Library/Formula/mspdebug.rb
new file mode 100644
index 000000000..e08afd7f8
--- /dev/null
+++ b/Library/Formula/mspdebug.rb
@@ -0,0 +1,24 @@
+require 'formula'
+
+class Mspdebug < Formula
+ homepage 'http://mspdebug.sourceforge.net/'
+ url 'http://sourceforge.net/projects/mspdebug/files/mspdebug-0.20.tar.gz'
+ sha1 'ddf589e6e15c2577fc132001f757113309e134e9'
+
+ depends_on 'libusb-compat'
+
+ def install
+ system "make", "PREFIX=#{prefix}", "install"
+ end
+
+ def caveats; <<-EOS.undent
+ You may need to install a kernel extension if you're having trouble with
+ RF2500-like devices such as the TI Launchpad:
+ http://mspdebug.sourceforge.net/faq.html#rf2500_osx
+ EOS
+ end
+
+ def test
+ system "#{bin}/mspdebug", "--help"
+ end
+end