homebrew-core/Formula/ioke.rb
2012-09-03 11:36:42 -07:00

21 lines
502 B
Ruby

require 'formula'
class Ioke < Formula
url 'http://ioke.org/dist/ioke-P-ikj-0.4.0.tar.gz'
homepage 'http://ioke.org/'
sha1 '1cf1512e1a845b64c8f839fed396f279afdc0ed9'
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
# Point IOKE_HOME to libexec
inreplace 'bin/ioke' do |s|
s.change_make_var! 'IOKE_HOME', libexec
end
# Install jars in libexec to avoid conflicts
prefix.install %w{ COPYING LICENSE README bin }
libexec.install Dir['*']
end
end