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-05-15 09:46:10 +00:00
|
|
|
url 'http://download.gnome.org/sources/vala/0.8/vala-0.8.1.tar.bz2'
|
2009-11-25 10:19:18 +00:00
|
|
|
homepage 'http://live.gnome.org/Vala'
|
2010-05-15 09:46:10 +00:00
|
|
|
md5 '3e105d7f39e55925299a3e6e82c32de7'
|
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
|