homebrew-core/Formula/vala.rb
Jack Nagel 1577af0372 Revert "Use download.gnome.org instead of ftp.gnome.org"
This reverts commit 90575346225fd0c16475ad74ee53b37b62715f0c.

Closes Homebrew/homebrew#28026.
2014-04-03 09:29:23 -05:00

23 lines
562 B
Ruby

require 'formula'
class Vala < Formula
homepage 'http://live.gnome.org/Vala'
url 'http://ftp.gnome.org/pub/gnome/sources/vala/0.23/vala-0.23.3.tar.xz'
sha1 '77496e829f49b0b718ffc72fe2be8893f8b09f5d'
head 'git://git.gnome.org/vala'
depends_on 'pkg-config' => :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
test do
system "#{bin}/valac", "--version"
end
end