homebrew-core/Formula/liblunar.rb

27 lines
697 B
Ruby
Raw Normal View History

2010-03-12 18:05:26 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Liblunar < Formula
2010-03-12 18:05:26 +00:00
homepage 'http://code.google.com/p/liblunar/'
url 'http://liblunar.googlecode.com/files/liblunar-2.2.5.tar.gz'
sha1 'c149dc32776667ed8d53124eec414ab15ace0981'
2010-03-12 18:05:26 +00:00
option 'python', 'Build python bindings using pygobject'
depends_on 'pkg-config' => :build
2013-02-03 20:40:11 +00:00
depends_on 'intltool' => :build
depends_on 'glib'
2010-03-12 18:05:26 +00:00
depends_on 'gettext'
depends_on 'vala' => :optional
depends_on 'pygobject' if build.include? 'python'
2010-03-12 18:05:26 +00:00
def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << '--disable-python' unless build.include? 'python'
system './configure', *args
system 'make install'
2010-03-12 18:05:26 +00:00
end
end