homebrew-core/Formula/ioke.rb
David Gageot 1b1f19ce1f ioke: install jars in libexec to avoid conflicts
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-09-01 17:42:58 +02:00

21 lines
No EOL
496 B
Ruby

require 'formula'
class Ioke <Formula
url 'http://ioke.org/dist/ioke-P-ikj-0.4.0.tar.gz'
homepage 'http://ioke.org/'
md5 '936fac215d14809ff5f4bd1fd8262ce0'
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