oscats: migrate to archive URL/homepage

This commit is contained in:
Dominyk Tiller 2016-08-28 20:04:02 +01:00
parent 1d8108855c
commit 6f7f5973dd
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -1,7 +1,7 @@
class Oscats < Formula
desc "Computerized adaptive testing system"
homepage "https://code.google.com/p/oscats/"
url "https://oscats.googlecode.com/files/oscats-0.6.tar.gz"
homepage "https://code.google.com/archive/p/oscats/"
url "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/oscats/oscats-0.6.tar.gz"
sha256 "2f7c88cdab6a2106085f7a3e5b1073c74f7d633728c76bd73efba5dc5657a604"
bottle do
@ -12,13 +12,13 @@ class Oscats < Formula
end
depends_on "pkg-config" => :build
depends_on :python => :optional
depends_on "gsl"
depends_on "glib"
depends_on :python => :optional
depends_on "pygobject" if build.with? "python"
def install
args = ["--disable-dependency-tracking", "--prefix=#{prefix}"]
args = %W[--disable-dependency-tracking --prefix=#{prefix}]
args << "--enable-python-bindings" if build.with? "python"
system "./configure", *args
system "make", "install"