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-06-10 18:08:26 +00:00
|
|
|
url 'http://download.gnome.org/sources/vala/0.9/vala-0.9.1.tar.bz2'
|
2009-11-25 10:19:18 +00:00
|
|
|
homepage 'http://live.gnome.org/Vala'
|
2010-06-10 18:08:26 +00:00
|
|
|
md5 'cf11b4c544bfb44dc4aea478d4e56464'
|
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
|