oscats: remove options

This commit is contained in:
FX Coudert 2018-09-14 16:19:26 +02:00
parent 0fe796092b
commit 258b205154

View file

@ -14,18 +14,12 @@ class Oscats < Formula
sha256 "e83b19660fe00ed2c05e228646a931ad3837dafd74855921da25009833d5f387" => :yosemite
end
deprecated_option "with-python" => "with-python@2"
depends_on "pkg-config" => :build
depends_on "gsl"
depends_on "glib"
depends_on "python@2" => :optional
depends_on "pygobject" if build.with? "python@2"
depends_on "gsl"
def install
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
args << "--enable-python-bindings" if build.with? "python@2"
system "./configure", *args
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make", "install"
end
end