oscats: migrate to archive URL/homepage
This commit is contained in:
parent
1d8108855c
commit
6f7f5973dd
1 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue