imagemagick: fix bottle version issue

The new bottle syntax conflicts a bit with how the version was being
handled in this formula; so let's just do it the way every other formula
does it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-01-25 22:34:12 -06:00
parent 236ceea0eb
commit b1a1421fd6

View file

@ -29,14 +29,13 @@ class Imagemagick < Formula
# Using an unofficial Git mirror to work around:
# * Stable tarballs disappearing
# * Bad https cert on official SVN repo
version '6.7.1-1'
url "https://github.com/trevor/ImageMagick/tarball/#{version}"
url 'https://github.com/trevor/ImageMagick/tarball/6.7.1-1'
md5 '9c71dfbddc42b78a0d8db8acdb534d37'
homepage 'http://www.imagemagick.org'
head 'https://github.com/trevor/ImageMagick.git'
bottle do
url "http://downloads.sf.net/project/machomebrew/Bottles/imagemagick-#{version}-bottle.tar.gz"
url 'http://downloads.sf.net/project/machomebrew/Bottles/imagemagick-6.7.1-1-bottle.tar.gz'
sha1 'd63cbdfb4e314f17ed1d553e5e1c7f3eebf1654b'
end