2010-02-06 16:52:15 +00:00
|
|
|
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
|
2010-09-01 14:40:43 +00:00
|
|
|
# Remove windows files
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
|
|
|
|
# Point IOKE_HOME to libexec
|
2010-02-06 16:52:15 +00:00
|
|
|
inreplace 'bin/ioke' do |s|
|
2010-09-07 21:34:39 +00:00
|
|
|
s.change_make_var! 'IOKE_HOME', libexec
|
2010-02-06 16:52:15 +00:00
|
|
|
end
|
|
|
|
|
2010-09-01 14:40:43 +00:00
|
|
|
# Install jars in libexec to avoid conflicts
|
|
|
|
prefix.install %w{ COPYING LICENSE README bin }
|
|
|
|
libexec.install Dir['*']
|
2010-02-06 16:52:15 +00:00
|
|
|
end
|
|
|
|
end
|