2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:30:48 +00:00
|
|
|
|
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'
|
2013-02-12 15:01:29 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/gnome/sources/vala/0.18/vala-0.18.1.tar.xz'
|
|
|
|
sha1 'c6d24efb9a093b7b67b876b484c612a5af90b9bb'
|
2012-02-26 11:00:28 +00:00
|
|
|
|
|
|
|
head 'git://git.gnome.org/vala'
|
2009-09-19 09:30:48 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2012-02-18 00:56:36 +00:00
|
|
|
depends_on 'xz' => :build
|
2009-09-21 18:00:13 +00:00
|
|
|
depends_on 'gettext'
|
2010-04-01 16:58:37 +00:00
|
|
|
depends_on 'glib'
|
2009-09-19 09:30:48 +00:00
|
|
|
|
|
|
|
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
|
2009-09-19 09:30:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-11-21 12:53:59 +00:00
|
|
|
|
|
|
|
def test
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/valac", "--version"
|
2010-11-21 12:53:59 +00:00
|
|
|
end
|
2009-09-19 09:30:48 +00:00
|
|
|
end
|