diff options
Diffstat (limited to 'misc/zyGrib/Makefile.patch')
-rw-r--r-- | misc/zyGrib/Makefile.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/zyGrib/Makefile.patch b/misc/zyGrib/Makefile.patch new file mode 100644 index 0000000000..b51f38fa9c --- /dev/null +++ b/misc/zyGrib/Makefile.patch @@ -0,0 +1,23 @@ +--- Makefile.orig 2011-09-10 06:59:30.000000000 +0000 ++++ Makefile 2011-11-23 14:49:17.000000000 +0000 +@@ -58,15 +58,15 @@ + install: zyGrib + mkdir -p $(INSTALLDIR) + mkdir -p $(INSTALLDIR)/bin ++ mkdir -p $(INSTALLDIR)/../../usr/bin + cp -a data $(INSTALLDIR) + cp -a grib $(INSTALLDIR) + rm -f ./zyGrib + rm -f $(INSTALLDIR)/bin/zyGrib + cp -a src/zyGrib $(INSTALLDIR)/bin +- echo "#!/bin/bash" >> ./zyGrib +- echo "cd $(INSTALLDIR)" >> ./zyGrib +- echo 'bin/zyGrib $$*' >> ./zyGrib +- chmod 755 ./zyGrib +- cp -af zyGrib $(INSTALLDIR) ++ echo "#!/bin/bash" >> $(INSTALLDIR)/../../usr/bin/zyGrib ++ echo "cd /opt/zyGrib" >> $(INSTALLDIR)/../../usr/bin/zyGrib ++ echo 'bin/zyGrib $$*' >> $(INSTALLDIR)/../../usr/bin/zyGrib ++ chmod 755 $(INSTALLDIR)/../../usr/bin/zyGrib + + |