homebrew-core/Formula/klavaro.rb

25 lines
587 B
Ruby
Raw Normal View History

require 'formula'
class Klavaro < Formula
homepage 'http://klavaro.sourceforge.net/'
2013-01-08 05:02:55 +00:00
url 'http://downloads.sourceforge.net/project/klavaro/klavaro-1.9.6.tar.bz2'
sha1 '781e0d79b4e805d648085ada46b82dae89093eaf'
depends_on 'pkg-config' => :build
depends_on 'gtk+'
depends_on 'intltool'
depends_on 'gtkdatabox'
depends_on :x11
def install
ENV.append 'LDFLAGS', '-lgmodule-2.0'
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/klavaro"
end
end