homebrew-core/Formula/vala.rb
Mirek Rusin 193479c501 Vala 0.15.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-02-26 07:33:44 -08:00

24 lines
579 B
Ruby

require 'formula'
class Vala < Formula
homepage 'http://live.gnome.org/Vala'
url 'http://download.gnome.org/sources/vala/0.15/vala-0.15.2.tar.xz'
md5 '773562e7ba7bc0b40d87b7ad2db72443'
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", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make" # Single step fails to compile for 0.8.0
system "make install"
end
def test
system "#{bin}/valac --version"
end
end