homebrew-core/Formula/vala.rb
Jack Nagel c8591739cb Use HTTP for gnome URLs
c.f. Homebrew/homebrew#10377.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-05 15:57:45 -05:00

24 lines
591 B
Ruby

require 'formula'
class Vala < Formula
homepage 'http://live.gnome.org/Vala'
url 'http://ftp.gnome.org/pub/gnome/sources/vala/0.17/vala-0.17.5.tar.xz'
sha1 'bb62b8bf7374d84e1479b4756c3a4fad8c352df0'
head 'git://git.gnome.org/vala'
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'gettext'
depends_on 'glib'
def install
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make" # Fails to compile as a single step
system "make install"
end
def test
system "#{bin}/valac", "--version"
end
end