diff options
| author | David Gageot | 2010-09-01 16:40:43 +0200 |
|---|---|---|
| committer | David Höppner | 2010-09-01 17:42:58 +0200 |
| commit | af8f1820b99a00c14d1be7242a67e6032218c27f (patch) | |
| tree | fd11d0c0d4cf4523c308b2e8a1573305b83dc711 /Library/Formula/ioke.rb | |
| parent | 6209d4032cd100483cdef63cff67f261fe6a59df (diff) | |
| download | homebrew-af8f1820b99a00c14d1be7242a67e6032218c27f.tar.bz2 | |
ioke: install jars in libexec to avoid conflicts
Signed-off-by: David Höppner <0xffea@gmail.com>
Diffstat (limited to 'Library/Formula/ioke.rb')
| -rw-r--r-- | Library/Formula/ioke.rb | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Library/Formula/ioke.rb b/Library/Formula/ioke.rb index 58da1fe12..44e749ccf 100644 --- a/Library/Formula/ioke.rb +++ b/Library/Formula/ioke.rb @@ -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
\ No newline at end of file |
