homebrew-core/Formula/vala.rb

23 lines
585 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Vala < Formula
2010-02-12 19:28:05 +00:00
head 'git://git.gnome.org/vala'
url 'http://download.gnome.org/sources/vala/0.14/vala-0.14.1.tar.xz'
2009-11-25 10:19:18 +00:00
homepage 'http://live.gnome.org/Vala'
sha256 'bef8c803e6e84d6dd2c6e771b72245ae268f49f554f3d00b2c4a0b7a28f4a439'
depends_on 'pkg-config' => :build
depends_on 'gettext'
2010-04-01 16:58:37 +00:00
depends_on 'glib'
def install
2010-04-01 16:58:37 +00:00
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make" # Single step fails to compile for 0.8.0
system "make install"
end
2010-11-21 12:53:59 +00:00
def test
system "#{bin}/valac --version"
2010-11-21 12:53:59 +00:00
end
end