ioke: install jars in libexec to avoid conflicts
Signed-off-by: David Höppner <0xffea@gmail.com>
This commit is contained in:
parent
dfaa9f8c91
commit
1b1f19ce1f
1 changed files with 8 additions and 3 deletions
|
@ -6,11 +6,16 @@ class Ioke <Formula
|
|||
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', HOMEBREW_PREFIX
|
||||
s.change_make_var! 'IOKE_HOME', "#{libexec}"
|
||||
end
|
||||
|
||||
rm_f Dir["bin/*.bat"]
|
||||
prefix.install %w[bin lib share]
|
||||
# Install jars in libexec to avoid conflicts
|
||||
prefix.install %w{ COPYING LICENSE README bin }
|
||||
libexec.install Dir['*']
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue