diff options
| author | ryanrms | 2014-04-22 20:35:04 -0600 |
|---|---|---|
| committer | Misty De Meo | 2014-04-23 23:14:25 -0700 |
| commit | 482d9ee58aeaaea22a2a5490df4c45373dce1c06 (patch) | |
| tree | 0aa5df350147f2e35979bde07447944d91691294 /Library/Formula | |
| parent | 248f3d5f73cb3ddee70b47d0465e81cce56aeafc (diff) | |
| download | homebrew-482d9ee58aeaaea22a2a5490df4c45373dce1c06.tar.bz2 | |
mpdviz 0.4.3
mpdviz is a terminal visualizer for the music player daemon (mpd).
Closes #28628.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mpdviz.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/mpdviz.rb b/Library/Formula/mpdviz.rb new file mode 100644 index 000000000..1ae934a8e --- /dev/null +++ b/Library/Formula/mpdviz.rb @@ -0,0 +1,21 @@ +require "formula" + +class Mpdviz < Formula + homepage "https://github.com/neeee/mpdviz" + url "http://github.com/neeee/mpdviz/archive/0.4.3.tar.gz" + sha1 "7923a818155c9fc413e483dcb1b3964ab00e5ded" + + depends_on "pkg-config" => :build + depends_on "go" => :build + depends_on "fftw" + + def install + ENV["GOPATH"] = buildpath + system "go", "get", "github.com/neeee/go-fftw" + system "go", "get", "github.com/neeee/pflag" + system "go", "get", "github.com/neeee/termbox-go" + system "go", "build", "-o", "mpdviz" + bin.install "mpdviz" + end + +end |
