diff options
| author | Stepan Koltsov | 2012-06-20 00:19:41 +0400 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-29 10:57:30 -0700 |
| commit | 9b21aead68906fa9e30be1135d55fd51360acc3d (patch) | |
| tree | 2bb325a33f9eb1452d99977691362e0151f441c7 /Library | |
| parent | 595e620381b57767b4985bbc5d88cc0fc2ea4388 (diff) | |
| download | homebrew-9b21aead68906fa9e30be1135d55fd51360acc3d.tar.bz2 | |
abcmidi 2012-08-08
abcMIDI is a package of programs developed by James Allwright for
processing ABC music notation files. It consists of several programs:
abc2midi, abc2abc, yaps, and midi2abc.
Closes #12928.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/abcmidi.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/abcmidi.rb b/Library/Formula/abcmidi.rb new file mode 100644 index 000000000..a46abc88c --- /dev/null +++ b/Library/Formula/abcmidi.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Abcmidi < Formula + homepage 'http://www.ifdo.ca/~seymour/runabc/top.html' + url 'http://www.ifdo.ca/~seymour/runabc/abcMIDI-2012-08-08.zip' + version '2012-08-08' + sha1 '004f09087c56fe00c6024de4b292111515f1df16' + + def install + # configure --prefix flag does not work properly (value is added to path twice). + # abcmidi author is notified. 2012-06-20 + system "./configure", "--disable-debug", + "--prefix=" + system "make install DESTDIR=#{prefix}" + man.install prefix/'man/man1' + end + + def test + system "#{bin}/abc2midi" + end +end |
