blob: 78e7ca81b507f98290de0b479058a235138314d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
require 'formula'
class Vala < Formula
head 'git://git.gnome.org/vala'
url 'http://download.gnome.org/sources/vala/0.15/vala-0.15.1.tar.xz'
homepage 'http://live.gnome.org/Vala'
md5 '639c8a85e184647a2c912a4f6ac28ed1'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'glib'
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make" # Single step fails to compile for 0.8.0
system "make install"
end
def test
system "#{bin}/valac --version"
end
end
|