ioke: install jars in libexec to avoid conflicts

Signed-off-by: David Höppner <0xffea@gmail.com>
master
David Gageot 2010-09-01 16:40:43 +02:00 committed by David Höppner
parent dfaa9f8c91
commit 1b1f19ce1f
1 changed files with 8 additions and 3 deletions

View File

@ -6,11 +6,16 @@ class Ioke <Formula
md5 '936fac215d14809ff5f4bd1fd8262ce0' md5 '936fac215d14809ff5f4bd1fd8262ce0'
def install def install
# Remove windows files
rm_f Dir["bin/*.bat"]
# Point IOKE_HOME to libexec
inreplace 'bin/ioke' do |s| inreplace 'bin/ioke' do |s|
s.change_make_var! 'IOKE_HOME', HOMEBREW_PREFIX s.change_make_var! 'IOKE_HOME', "#{libexec}"
end end
rm_f Dir["bin/*.bat"] # Install jars in libexec to avoid conflicts
prefix.install %w[bin lib share] prefix.install %w{ COPYING LICENSE README bin }
libexec.install Dir['*']
end end
end end