aboutsummaryrefslogtreecommitdiff
path: root/misc/zyGrib/Makefile.patch
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2011-12-11 14:09:18 -0200
committerNiels Horn <niels.horn@slackbuilds.org>2011-12-11 14:09:18 -0200
commit733e5ec566dad13b5219890c82d94b87e3288575 (patch)
tree661d27e30765e84e840cb059c11df14db41ba79c /misc/zyGrib/Makefile.patch
parent38ed2ee04c3447e2b55119cbba56b306c5ab7788 (diff)
misc/zyGrib: Added (Visualization of meteo data)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/zyGrib/Makefile.patch')
-rw-r--r--misc/zyGrib/Makefile.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/misc/zyGrib/Makefile.patch b/misc/zyGrib/Makefile.patch
new file mode 100644
index 0000000000000..b51f38fa9c034
--- /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
+
+