homebrew-core/Formula/vala.rb
Enjoycode fbbf92fad3 vala 0.23.1
Closes Homebrew/homebrew#25667.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-06 10:07:06 +00:00

23 lines
563 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.1.tar.xz'
sha1 'e69b34c6c0e52231ae272bb21b4668d0ac68cd1d'
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
def test
system "#{bin}/valac", "--version"
end
end