blob: 90440c3d509bf8859cc788ade29b37596a7424db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
require 'formula'
class Vala < Formula
homepage 'http://live.gnome.org/Vala'
url 'http://download.gnome.org/sources/vala/0.16/vala-0.16.0.tar.xz'
md5 '84b742e9cca4c90fde3026c3793c03c1'
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", "--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
|