homebrew-core/Formula/vala.rb

25 lines
591 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Vala < Formula
2009-11-25 10:19:18 +00:00
homepage 'http://live.gnome.org/Vala'
url 'http://ftp.gnome.org/pub/gnome/sources/vala/0.18/vala-0.18.1.tar.xz'
sha1 'c6d24efb9a093b7b67b876b484c612a5af90b9bb'
head 'git://git.gnome.org/vala'
depends_on 'pkg-config' => :build
depends_on 'xz' => :build
depends_on 'gettext'
2010-04-01 16:58:37 +00:00
depends_on 'glib'
def install
2012-03-11 01:06:42 +00:00
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make" # Fails to compile as a single step
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