homebrew-core/Formula/fleet-db.rb

22 lines
535 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class FleetDb < Formula
url 'http://fleetdb.s3.amazonaws.com/fleetdb-standalone-0.2.0.jar'
homepage 'http://fleetdb.org'
sha1 'dcc8f10ba697e7603c4c6ae9ba93913f83de87dd'
def install
2012-02-11 23:20:43 +00:00
libexec.install "fleetdb-standalone-0.2.0.jar"
(bin+'fleetdb-server').write <<-EOS.undent
#!/bin/sh
java -cp "#{libexec}/fleetdb-standalone-0.2.0.jar" fleetdb.server "$@"
EOS
end
2012-02-11 23:20:43 +00:00
def caveats; <<-EOS.undent
To start a FleetDB server:
fleetdb-server -f /path/to/data.fdb
EOS
end
end