aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sratom.rb
blob: e27be0baf5295e79156cbc46a8cb88d5f17ff437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

class Sratom < Formula
  homepage 'http://drobilla.net/software/sratom/'
  url 'http://download.drobilla.net/sratom-0.4.6.tar.bz2'
  sha1 '5f7d18e4917e5a2fee6eedc6ae06aa72d47fa52a'

  bottle do
    cellar :any
    sha256 "9023b8427d0e4068c7ca9e9a66a18545c51af3e30fcf9566db74aacceff18d2b" => :yosemite
    sha256 "9720a29b9fc95760edc5d96a36d89fee9a44403e0ce1cbe76fbf4a805c8c9571" => :mavericks
    sha256 "4b2acde2a46119ac0d6ae10a0d161b5f644e507296f44defc036ab311d93cf27" => :mountain_lion
  end

  depends_on 'pkg-config' => :build
  depends_on 'lv2'
  depends_on 'serd'
  depends_on 'sord'

  def install
    system "./waf", "configure", "--prefix=#{prefix}"
    system "./waf"
    system "./waf", "install"
  end
end