diff options
| author | Matthew Callis | 2013-03-16 17:34:44 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-29 12:20:01 -0700 |
| commit | 562b76e65fa794e2ed19fc2949104f7278767022 (patch) | |
| tree | b7f3ee1de4441093c14f439e24f28bb1c6a8424f /Library | |
| parent | c30eddc06f3f1b562ebd4fdc97cc895d6fb57274 (diff) | |
| download | homebrew-562b76e65fa794e2ed19fc2949104f7278767022.tar.bz2 | |
bpm-tools 0.2
Closes #18531.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bpm-tools.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/bpm-tools.rb b/Library/Formula/bpm-tools.rb new file mode 100644 index 000000000..4a6f10a5d --- /dev/null +++ b/Library/Formula/bpm-tools.rb @@ -0,0 +1,25 @@ +require 'formula' + +class BpmTools < Formula + homepage 'http://www.pogo.org.uk/~mark/bpm-tools/' + url 'http://www.pogo.org.uk/~mark/bpm-tools/releases/bpm-tools-0.2.tar.gz' + sha1 '4c1d23a12b8d6cfbe23a5d2e6f232af4419b62c4' + + head 'http://www.pogo.org.uk/~mark/bpm-tools.git', :using => :git + + option 'with-bpm-graph', 'Install plot generation script' + option 'with-bpm-tag', 'Install audio file tagging script' + + depends_on 'gnuplot' if build.with? 'bpm-graph' + depends_on 'sox' if build.with? 'bpm-tag' + depends_on 'id3v2' if build.with? 'bpm-tag' + depends_on 'flac' if build.with? 'bpm-tag' + depends_on 'vorbis-tools' if build.with? 'bpm-tag' + + def install + system "make" + bin.install 'bpm' + bin.install 'bpm-graph' if build.with? 'bpm-graph' + bin.install 'bpm-tag' if build.with? 'bpm-tag' + end +end |
