76bcb39bdf
These deps are only needed for the stable download, but they will get pulled in for HEAD builds unless the are scoped appropriately (i.e. inside a stable block). Since they are also auto-detected from the URL now, we can just remove them.
23 lines
563 B
Ruby
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.22/vala-0.22.1.tar.xz'
|
|
sha1 '440b63356a94565a3f58b9e2218e3bb31f02879b'
|
|
|
|
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
|