ddd5395271
Closes Homebrew/homebrew#15039. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
29 lines
749 B
Ruby
29 lines
749 B
Ruby
require 'formula'
|
|
|
|
class Osmosis < Formula
|
|
homepage 'http://wiki.openstreetmap.org/wiki/Osmosis'
|
|
url 'http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.41.zip'
|
|
sha1 'b4119871ed74af4c320685a45defb255acf4499f'
|
|
|
|
def patches
|
|
# need to adjust home dir for a clean install
|
|
DATA
|
|
end
|
|
|
|
def install
|
|
bin.install 'bin/osmosis'
|
|
libexec.install %w(lib config script)
|
|
end
|
|
end
|
|
|
|
__END__
|
|
--- a/bin/osmosis 2010-11-16 06:58:44.000000000 +0100
|
|
+++ b/bin/osmosis 2010-11-23 12:13:01.000000000 +0100
|
|
@@ -83,6 +83,7 @@
|
|
saveddir=`pwd`
|
|
MYAPP_HOME=`dirname "$PRG"`/..
|
|
MYAPP_HOME=`cd "$MYAPP_HOME" && pwd`
|
|
+MYAPP_HOME="$MYAPP_HOME/libexec"
|
|
cd "$saveddir"
|
|
|
|
# Build up the classpath of required jar files via classworlds launcher.
|