homebrew-core/Formula/vala.rb
Thijs Vermeir f110fab4b5 vala 0.20.1
Closes Homebrew/homebrew#19503.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-04-29 07:09:54 -07: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.20/vala-0.20.1.tar.xz'
sha1 '6a453140ccc252a3d46d110ab03da005885754f7'
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