diff options
| author | Jan Berkel | 2010-11-23 12:26:50 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-11-26 09:47:43 -0800 |
| commit | b78f014865f7b7c760056d85e09885f57a0b6e5e (patch) | |
| tree | b4166f80ef85ceac030ac5deddd89dde0376bfe9 /Library/Formula | |
| parent | f41ebcd4d36c455cda18da7163882c66e74822ec (diff) | |
| download | homebrew-b78f014865f7b7c760056d85e09885f57a0b6e5e.tar.bz2 | |
New formula: osmosis
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/osmosis.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/osmosis.rb b/Library/Formula/osmosis.rb new file mode 100644 index 000000000..a89435717 --- /dev/null +++ b/Library/Formula/osmosis.rb @@ -0,0 +1,29 @@ +require 'formula' + +class Osmosis <Formula + url 'http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.38.zip' + homepage 'http://wiki.openstreetmap.org/wiki/Osmosis' + md5 'e0d48f644485578625482f5e660b2358' + + def patches + # need to adjust home dir for a clean install + DATA + end + + def install + bin.install Dir['bin/osmosis'] + %w(lib config script).each { |d| libexec.install d } + 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. |
