blob: de0fba2c971d7b9ff3f7a06f1ce60210bab2fb84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
require 'formula'
class Oscats < Formula
homepage 'http://code.google.com/p/oscats/'
url 'https://oscats.googlecode.com/files/oscats-0.6.tar.gz'
sha1 'f57fa06ee0d842ed4c547dd7ab599fd5090d7550'
depends_on 'pkg-config' => :build
depends_on :python => :optional
depends_on 'gsl'
depends_on 'glib'
depends_on 'pygobject' if build.with? 'python'
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
args << "--enable-python-bindings" if build.with? 'python'
system "./configure", *args
system "make install"
end
end
|