homebrew-core/Formula/skktools.rb
Keisuke Kawahara 6a8250517a skktools 1.3.2
Closes Homebrew/homebrew#9376.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-20 20:28:34 -07:00

23 lines
616 B
Ruby

require 'formula'
class Skktools < Formula
homepage 'http://openlab.jp/skk/index-j.html'
url 'http://openlab.ring.gr.jp/skk/tools/skktools-1.3.2.tar.gz'
sha256 'cd1cc9d6d9674d70bbc69f52ac1d1a99a8067dd113a0fa1d50685a29e58a6791'
depends_on 'pkg-config' => :build
depends_on 'glib'
def install
system "./configure", "--prefix=#{prefix}", "--with-skkdic-expr2"
# replace Makefile Target
inreplace 'Makefile' do |s|
s.gsub! 'TARGETS = skkdic-expr$(EXEEXT)', 'TARGETS = skkdic-expr$(EXEEXT) skkdic-expr2$(EXEEXT)'
end
system "make"
ENV.j1
system "make install"
end
end