homebrew-core/Formula/ioke.rb

25 lines
532 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Ioke < Formula
homepage 'http://ioke.org/'
2012-11-11 19:20:09 +00:00
url 'http://ioke.org/dist/ioke-P-ikj-0.4.0.tar.gz'
sha1 '1cf1512e1a845b64c8f839fed396f279afdc0ed9'
def install
# Remove windows files
rm_f Dir["bin/*.bat"]
2012-11-11 19:20:09 +00:00
prefix.install_metafiles
# Install jars in libexec to avoid conflicts
libexec.install Dir['*']
# Point IOKE_HOME to libexec
2012-11-11 19:20:09 +00:00
inreplace libexec/'bin/ioke' do |s|
s.change_make_var! 'IOKE_HOME', libexec
end
2012-11-11 19:20:09 +00:00
bin.install_symlink libexec/'bin/ioke'
end
2011-03-10 05:11:03 +00:00
end