2012-06-12 22:57:26 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Klavaro < Formula
|
|
|
|
homepage 'http://klavaro.sourceforge.net/'
|
2013-10-19 18:13:36 +00:00
|
|
|
url 'http://sourceforge.net/projects/klavaro/files/klavaro-2.00.tar.bz2'
|
|
|
|
sha1 'c24443826496005f747b72c257202bba6bb4d462'
|
2012-06-12 22:57:26 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
2013-02-03 20:40:02 +00:00
|
|
|
depends_on 'intltool' => :build
|
2012-06-12 22:57:26 +00:00
|
|
|
depends_on 'gtk+'
|
|
|
|
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
|
|
|
|
end
|