blob: 1ae934a8e3394d6e12c382202e07d6b4ac67c1c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|