2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-19 09:30:48 +00:00
|
|
|
|
|
|
|
class Vala <Formula
|
2010-02-12 19:28:05 +00:00
|
|
|
head 'git://git.gnome.org/vala'
|
2010-08-23 13:13:41 +00:00
|
|
|
url 'http://download.gnome.org/sources/vala/0.9/vala-0.9.7.tar.bz2'
|
2009-11-25 10:19:18 +00:00
|
|
|
homepage 'http://live.gnome.org/Vala'
|
2010-08-23 13:13:41 +00:00
|
|
|
md5 '3062fe00c0f5b8f40cd2a94ff9bbe2da'
|
2009-09-19 09:30:48 +00:00
|
|
|
|
2010-04-01 16:58:37 +00:00
|
|
|
depends_on 'pkg-config'
|
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
|
2010-04-01 16:58:37 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
|
|
system "make" # Single step fails to compile for 0.8.0
|
2009-09-19 09:30:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|