analog: homepage/url move

Homepage has been dead for a while. Debian have flagged this issue [as
well](http://duck.debian.net/static/sp/a/analog_full.html). This moves
the homepage and url to ones that work.

Closes Homebrew/homebrew#34006.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2014-11-08 00:11:06 +00:00 committed by Mike McQuaid
parent 74535ffe6d
commit f00726825e

View file

@ -1,9 +1,11 @@
require 'formula'
require "formula"
class Analog < Formula
homepage 'http://analog.cx'
url 'http://analog.cx/analog-6.0.tar.gz'
sha1 '17ad601f84e73c940883fb9b9e805879aac37493'
homepage "https://tracker.debian.org/pkg/analog"
# The previous long-time homepage and url are stone-cold dead. Using Debian instead.
#homepage "http://analog.cx"
url "https://mirrors.kernel.org/debian/pool/main/a/analog/analog_6.0.orig.tar.gz"
sha1 "17ad601f84e73c940883fb9b9e805879aac37493"
revision 1
bottle do
@ -12,9 +14,9 @@ class Analog < Formula
sha1 "968ff8fcb3851697ad7d6f680accc7860cefee55" => :lion
end
depends_on 'gd'
depends_on 'jpeg'
depends_on 'libpng'
depends_on "gd"
depends_on "jpeg"
depends_on "libpng"
def install
system "make", "CC=#{ENV.cc}",
@ -23,8 +25,8 @@ class Analog < Formula
"LIBS=-lz",
"OS=OSX"
bin.install "analog"
(share/'analog').install "examples", "how-to", "images", "lang"
(share/'analog').install "analog.cfg" => "analog.cfg-dist"
(share/"analog").install "examples", "how-to", "images", "lang"
(share/"analog").install "analog.cfg" => "analog.cfg-dist"
man1.install "analog.man" => "analog.1"
end