bpm-tools 0.2
Closes Homebrew/homebrew#18531. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
6f75bdc70a
commit
7bafca263f
1 changed files with 25 additions and 0 deletions
25
Formula/bpm-tools.rb
Normal file
25
Formula/bpm-tools.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue