mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-01 01:00:03 +01:00
c637bcf3e6
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
23 lines
767 B
Diff
23 lines
767 B
Diff
--- Makefile.orig 2013-01-06 08:44:57.000000000 +0000
|
|
+++ Makefile 2013-02-22 16:33:32.302831589 +0000
|
|
@@ -36,15 +36,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
|
|
|
|
|